History log of /libcore/luni/src/main/java/android/system/Os.java
Revision Date Author Comments
82d076b51f6fe7c1cbd1f37414be36eaaa9b0e56 02-Jul-2015 Jeff Sharkey <jsharkey@android.com> Add getxattr/setxattr/removexattr syscalls.

Bug: 20275572
Change-Id: I958056f757f095ad6278624e293a5583d9cee822
36f73b3bd9014eaf47663b85fb185b95fbf7a3a6 16-Mar-2015 Lorenzo Colitti <lorenzo@google.com> Expose the SocketAddress variant to bundled apps.

Change-Id: I6b7985f23c1063c0cf68a12bf510da032bbd3e94
8f5b46d72e5c1b1b1dd4357580c4fb5a60e3f4de 26-Jan-2015 Erik Kline <ek@google.com> Add support for netlink sockets and addresses.

Additionally:
- support bind and connect calls with SocketAddresses
- getsockname and getpeername can return a NetlinkSocketAddress

Developed in conjunction with:
https://android-review.googlesource.com/135490

Bug: 18581716
Change-Id: I760a06cdb9bdb26c734fb02cf668a94de982e2b6
30c669166d86d0bd133edfb67909665fb41d29b6 16-Jan-2015 Narayan Kamath <narayan@google.com> Remove fcntlLong, use fcntlInt for F_SETFD instead.

fcntlLong works too, but only because of the syscall conventions
happen to place the lower 32 bits of our jlong in the right register.

This change also gets rid of fcntlLong because there aren't any
documented fcntl calls that take a 64 bit integer argument.

Change-Id: I8d187d5b906195fc663675a07a5f116dcd210d16
c8d9ea662de6f4856b28907b4119087cfc5a44d2 16-Jan-2015 Narayan Kamath <narayan@google.com> Add fcntlInt.

Hidden for now, for use from the frameworks.

Change-Id: I30d95b28ecbc422aaa5bf28fb2f288c3ca026493
8f0f2ac7fcd8f366a78cc51181d065ab93385e46 17-Dec-2014 Elliott Hughes <enh@google.com> Add various system calls needed by the zygote.

Bug: 18719692
Change-Id: I91a943369bc3b331e7e06e758f729b008c3c041c
fa542091e45db699a937c5ac0191194405107827 16-Dec-2014 Elliott Hughes <enh@google.com> Fix poll to never return EINTR.

Bug: 18759467
Change-Id: Ia5b97a55318b5990ad6b80d15641223aa4fb06f5
0d8b5c3692c36837d22c4e7d9c4d7d95f6a10235 12-Dec-2014 Elliott Hughes <enh@google.com> Add pipe2 and O_CLOEXEC to the libcore POSIX API.

@hide right now, but we should expose these at some point.

Bug: 18719692
Change-Id: I0a73606cf089ed307d1ab2916a7df28b3c45aaf0
99a0c82619a88c6aea038757cf14090f5d33afeb 27-Nov-2014 Neil Fuller <nfuller@google.com> Fix crash in selector.wakeup() with closed selector

Selector.wakeup() can throw an undeclared IOException
(from native code).

This is not compatible with the signature of wakeup(). In prior
Android releases no exception is thrown in this case.

This change reverts the behavior to the same as prior Android
releases.

Many thanks to diddysbestbud@ for the report.

Bug: https://code.google.com/p/android/issues/detail?id=80785
Bug: 18548071
(cherry picked from commit 1791f6be1bd2733babb0c862ad8509f4c847b48f)

Change-Id: I19ee879dcd783655d8a402e12855a5fa1f1eb90c
1791f6be1bd2733babb0c862ad8509f4c847b48f 27-Nov-2014 Neil Fuller <nfuller@google.com> Fix crash in selector.wakeup() with closed selector

Selector.wakeup() can throw an undeclared IOException
(from native code).

This is not compatible with the signature of wakeup(). In prior
Android releases no exception is thrown in this case.

This change reverts the behavior to the same as prior Android
releases.

Many thanks to diddysbestbud@ for the report.

Bug: https://code.google.com/p/android/issues/detail?id=80785
Bug: 18548071
Change-Id: I5421e8a0ae1fdf2cde9cb635dae56b4fd02b6ac4
3e58734d651080009c9190c7062837fca5c7cf4e 13-May-2014 Paul Jensen <pauljensen@google.com> Add support for network-specific host name resolution.

For now all such support is hidden.

Change-Id: I932f73158a8f6e3ccc36c319d138180dff2aa070
04428d61d7000e17ab21d08a1d672c34eb68f6e2 10-May-2014 Elliott Hughes <enh@google.com> Add android.system.Os.link for link(2).

Bug: 14683762
Change-Id: Ieeba1d2d0c5e9c05e85c6ffbaeb5a7febc69238c
938612c05cb2b02c6f9f6da83d1904fb97b6ed36 09-May-2014 Elliott Hughes <enh@google.com> Unhide android.system.Os.

Change-Id: Ia113d3e3609cd1403fbdea7966931bf5c6c3b5ea
34721e8e0051258e87848bae25baf50722b4c76a 07-May-2014 Elliott Hughes <enh@google.com> Basic documentation for android.system.

Also individually @hide the methods we might not want to expose straight
away. These are basically the ones where the mapping to Java types isn't
completely straightforward, usually resulting in a family of similar methods.

Change-Id: I7b3d555c4599dc8c64e23f5c494a358ef68c6777
5215e4c0db7530519981f1e505e6db82401802f2 25-Apr-2014 Nick Kralevich <nnk@google.com> add prctl / PR_SET_NO_NEW_PRIVS

Add java wrappers for prctl and PR_SET_NO_NEW_PRIVS.

Change-Id: I649a755ea9354b0290b25292bc65901b1528c1d5
5d930cadc8f62aee5f18e7921296fe66a54f18ab 24-Apr-2014 Elliott Hughes <enh@google.com> Groundwork towards making the Libcore.os functionality public.

Change-Id: Ie700aa16d91fba53fc5eb2555829cb74d84b12ad