aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nacl
AgeCommit message (Collapse)AuthorFilesLines
2015-11-10NaCl: Use open_resource API for shared objectsRoland McGrath3-1/+64
2015-11-06Simplify the abilist formatFlorian Weimer10-725/+715
The new format lists the version on each line, as in: VERSION SYMBOL TYPE [VALUE] This makes it easier to process the files with line-oriented tools. The abilist files were converted with this awk script: /^[^ ]/ { version = $1 } /^ / { print version, substr($0, 2) } And sorted under the "C" locale with sort.
2015-09-11NaCl: Do not install <sys/mtio.h>.Roland McGrath1-0/+9
2015-08-25NaCl: Call __nacl_main in preference to main.Roland McGrath1-1/+5
2015-07-24NaCl: Remove bogus O_SHLOCK, O_EXLOCK definitions.Roland McGrath1-4/+0
2015-07-23Make sysdeps/posix bring in login subdir.Roland McGrath2-24/+8
2015-07-23NaCl: Fix missing getdtablesize symbol.Roland McGrath1-0/+1
2015-07-21NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename.Roland McGrath3-4/+2
2015-07-21Add abilist files and NEWS item for arm-nacl port.Roland McGrath9-0/+717
2015-07-14Factor file identity rules out of generic rtld code.Roland McGrath1-0/+8
2015-07-10NaCl: Make pthread_condattr_setclock reject CLOCK_MONOTONIC.Roland McGrath1-0/+42
2015-07-10Add and use new glibc-internal futex API.Torvald Riegel2-2/+250
This adds new functions for futex operations, starting with wait, abstimed_wait, reltimed_wait, wake. They add documentation and error checking according to the current draft of the Linux kernel futex manpage. Waiting with absolute or relative timeouts is split into separate functions. This allows for removing a few cases of code duplication in pthreads code, which uses absolute timeouts; also, it allows us to put platform-specific code to go from an absolute to a relative timeout into the platform-specific futex abstractions.. Futex operations that can be canceled are also split out into separate functions suffixed by "_cancelable". There are separate versions for both Linux and NaCl; while they currently differ only slightly, my expectation is that the separate versions of lowlevellock-futex.h will eventually be merged into futex-internal.h when we get to move the lll_ functions over to the new futex API.
2015-07-09PLT avoidance for _exit in rtld.Roland McGrath1-0/+1
2015-06-30Clean up BUSY_WAIT_NOP and atomic_delay.Torvald Riegel2-6/+2
This patch combines BUSY_WAIT_NOP and atomic_delay into a new atomic_spin_nop function and adjusts all clients. The new function is put into atomic.h because what is best done in a spin loop is architecture-specific, and atomics must be used for spinning. The function name is meant to tell users that this has no effect on synchronization semantics but is a performance aid for spinning.
2015-06-24NaCl: Fix glob.c build after getlogin_r -> __getlogin_r.Roland McGrath1-2/+2
2015-06-03NaCl: Implement nacl_interface_ext_supply entry point.Roland McGrath5-2/+95
2015-05-28NaCl: Make thread exit wake pthread_join.Roland McGrath4-2/+156
2015-05-28NaCl: Fix lll_futex_timed_wait timeout calculation.Roland McGrath1-12/+12
2015-05-26NaCl: Fix thinko in last change.Roland McGrath1-8/+9
2015-05-26NaCl: Add NaCl-specific __lll_timedlock_wait.Roland McGrath1-0/+52
2015-05-26struct stat is not posix conformSzabolcs Nagy1-2/+2
On 21/05/15 05:29, Siddhesh Poyarekar wrote: > On Wed, May 20, 2015 at 06:55:02PM +0100, Szabolcs Nagy wrote: >> i guess it's ok for consistency if i fix struct stat64 >> too to use __USE_XOPEN2K8. >> >> i will run some tests and come back with a patch > > I also think it would be appropriate to change this code in other > architectures (microblaze and nacl IIRC) to make all of them > consistent. It is a mechanical enough change IMO that all arch > maintainer acks is not necessary. > here is the patch with consistent __USE_XOPEN2K8 ok to commit? 2015-05-21 Szabolcs Nagy <szabolcs.nagy@arm.com> [BZ #18234] * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim, st_mtim and st_ctim members. * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only. * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,): (struct stat64): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,): (struct stat64): Likewise. * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,): (struct stat64): Likewise.
2015-05-20NaCl: Set tid field to a unique value.Roland McGrath2-0/+68
2015-05-13NaCl: Make fdopendir skip fcntl check.Roland McGrath1-0/+32
2015-05-12NaCl: Provide non-default values for uname.Roland McGrath1-0/+32
2015-05-08NaCl: Implement gethostname.Roland McGrath1-0/+45
2015-05-06NaCl: Fix elf_loader file name in nacl-test-wrapper.shRoland McGrath1-1/+1
2015-04-29NaCl: Change clock_t to long int.Roland McGrath2-3/+4
2015-04-29NaCl: Fix symbol names for euidaccess.Roland McGrath1-1/+3
2015-04-29NaCl: Make __suseconds_t be long int rather than int32_t.Roland McGrath1-1/+1
2015-04-17Add arm-nacl port.Roland McGrath113-0/+4497