Commit graph

  • b052f13cd1 namespace fixes for sys/mman.h Rich Felker 2011-04-20 15:55:58 -04:00
  • 53ab4e793b fix missing include in posix_madvise.c (compile error) Rich Felker 2011-04-20 15:36:15 -04:00
  • 2357350924 support posix_madvise (previous a stub) Rich Felker 2011-04-20 15:25:28 -04:00
  • 1c76683cb4 add syscall wrappers for posix_fadvise, posix_fallocate Rich Felker 2011-04-20 15:20:22 -04:00
  • 145c05345d block cancellation in wordexp, handle more errors Rich Felker 2011-04-19 23:42:56 -04:00
  • f0fc95d439 avoid malloc of potentially-large string in wordexp Rich Felker 2011-04-19 23:37:57 -04:00
  • a6054e3c94 move some more code out of pthread_create.c Rich Felker 2011-04-19 23:09:14 -04:00
  • 4f24994920 fix uninitialized waiters field in semaphores Rich Felker 2011-04-19 13:16:59 -04:00
  • 43ee4df338 dns lookups: protect against cancellation and fix incorrect error codes Rich Felker 2011-04-18 21:35:14 -04:00
  • 75a0be1f65 avoid fd leak if opendir is cancelled when calloc has failed Rich Felker 2011-04-18 21:22:14 -04:00
  • df9e11bb06 protect ftw and nftw against cancellation Rich Felker 2011-04-18 21:17:03 -04:00
  • d2c604d5a4 protect syslog against cancellation Rich Felker 2011-04-18 21:11:23 -04:00
  • be2e06d347 recheck cancellation disabled flag after syscall returns EINTR Rich Felker 2011-04-18 20:50:37 -04:00
  • 61b56a8d21 remove bogus extra logic for close cancellability Rich Felker 2011-04-18 18:42:34 -04:00
  • 1bc44a4734 fix typo in x86_64 cancellable syscall asm Rich Felker 2011-04-17 19:25:17 -04:00
  • e98bdca9df minimal realpath implementation using /proc Rich Felker 2011-04-17 17:32:36 -04:00
  • 2afed79f15 pthread_exit is not supposed to affect cancellability Rich Felker 2011-04-17 17:09:41 -04:00
  • 1ebde9c3a2 fix pthread_exit from cancellation handler Rich Felker 2011-04-17 17:06:05 -04:00
  • 9080cc153c clean up handling of thread/nothread mode, locking Rich Felker 2011-04-17 16:53:54 -04:00
  • eb0e8fa0b1 debloat: use __syscall instead of syscall where possible Rich Felker 2011-04-17 16:32:15 -04:00
  • 09dae2b7b6 fix bugs in cancellable syscall asm Rich Felker 2011-04-17 15:30:08 -04:00
  • ebf82447be optimize cancellation enable/disable code Rich Felker 2011-04-17 13:21:13 -04:00
  • 02eff258c6 don't use pthread_once when there is no danger in race Rich Felker 2011-04-17 12:15:55 -04:00
  • e74664016b fix some minor issues in cancellation handling patch Rich Felker 2011-04-17 12:09:47 -04:00
  • feee98903c overhaul pthread cancellation Rich Felker 2011-04-17 11:43:03 -04:00
  • 90f09a0dde remove stupid debug code in wordexp Rich Felker 2011-04-15 12:07:26 -04:00
  • d251c2645c implement wordexp. first try, may be buggy. intended to be safe. Rich Felker 2011-04-15 12:06:34 -04:00
  • 69cf09c821 avoid setting errno when checking for tty Rich Felker 2011-04-15 12:04:13 -04:00
  • 088ae5995a document some changes in the upcoming release Rich Felker 2011-04-14 23:33:46 -04:00
  • a3aa89d826 fix O_SYNC definition, cleanup fcntl.h Rich Felker 2011-04-14 22:06:30 -04:00
  • 0a84e72c42 fix FAPPEND typo on x86_64 (previously only fixed on i386) Rich Felker 2011-04-14 21:50:07 -04:00
  • c2b18f3531 fcntl.h: move macros that do not vary between archs out of bits Rich Felker 2011-04-14 21:49:22 -04:00
  • ace973637f fix broken fcntl locks on x86_64 Rich Felker 2011-04-14 21:45:26 -04:00
  • b172dc8b58 make tmpfile slightly more efficient (use unlink syscall instead of remove) Rich Felker 2011-04-14 21:43:49 -04:00
  • 9b96220e5a fix typo in legacy FAPPEND definition Rich Felker 2011-04-14 19:14:42 -04:00
  • 33a3f202d1 add useless type fd_mask. it's in the reserved namespace. Rich Felker 2011-04-14 16:23:31 -04:00
  • e983aea0ae change sem_trywait algorithm so it never has to call __wake Rich Felker 2011-04-14 15:10:50 -04:00
  • ec2e50d0d7 cheap trick to further optimize locking normal mutexes Rich Felker 2011-04-14 14:39:57 -04:00
  • 016a5dc192 use a separate signal from SIGCANCEL for SIGEV_THREAD timers Rich Felker 2011-04-14 12:51:00 -04:00
  • 9beb6330c0 simplify cancellation point handling Rich Felker 2011-04-13 20:47:01 -04:00
  • 19c1830eaa simplify syslog, add vsyslog interface (nonstandard) Rich Felker 2011-04-13 18:32:33 -04:00
  • a77411a50d remove useless SIGPIPE protection from syslog Rich Felker 2011-04-13 17:51:45 -04:00
  • a444ee3410 fix syslog (corrected SIGPIPE blocking, and using dgram instead of stream) Rich Felker 2011-04-13 17:24:25 -04:00
  • 07e865cc5a numerous fixes to sysv ipc Rich Felker 2011-04-13 16:45:43 -04:00
  • b5b43b6d62 add syslog.h cruft for syslogd to use... Rich Felker 2011-04-13 16:13:49 -04:00
  • b778a2ba69 add profile for getmntent_r Rich Felker 2011-04-13 15:24:26 -04:00
  • 55b123b5ed add syscall wrapper for flock Rich Felker 2011-04-13 14:55:26 -04:00
  • 6f0259a4fc fix bug whereby getopt_long allowed mismatch in last char of option name Rich Felker 2011-04-13 14:52:23 -04:00
  • 45a3219944 fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it Rich Felker 2011-04-13 13:22:19 -04:00
  • cac7d837cc fix and cleanup suseconds_t/timeval stuff (broken on 64-bit) Rich Felker 2011-04-13 13:16:49 -04:00
  • 91e836fda7 implement getgrouplist (for initgroups), formerly dummied-out Rich Felker 2011-04-13 09:39:47 -04:00
  • 3f44f298e4 fix prototypes/signature for setgroups, etc. Rich Felker 2011-04-13 09:03:22 -04:00
  • 0f5b43550c fix incorrect GNU sighandler_t typedef Rich Felker 2011-04-13 08:45:28 -04:00
  • 6597f9ac13 implement memrchr (nonstandard) and optimize strrchr in terms of it Rich Felker 2011-04-13 08:36:29 -04:00
  • 750b738e53 add ptsname_r (nonstandard) and split ptsname (standard) to separate file Rich Felker 2011-04-13 08:35:32 -04:00
  • e2915eeeea speed up threaded fork Rich Felker 2011-04-12 17:52:14 -04:00
  • 0913560a3f more changes for upcoming 0.7.8 Rich Felker 2011-04-12 13:36:22 -04:00
  • c89862660b optimize ntohl etc. in terms of bswap functions Rich Felker 2011-04-12 13:13:27 -04:00
  • c546be175c move bswap functions to static inline in byteswap.h Rich Felker 2011-04-12 13:04:17 -04:00
  • 4f4ba4c02f fix broken bswap_32 Rich Felker 2011-04-12 12:18:11 -04:00
  • 0729fd9fd9 utmpx.h is no longer under standards, so expose ut_exit structure Rich Felker 2011-04-12 12:03:33 -04:00
  • 7ecab79f58 add some traditional aliases to stat.h Rich Felker 2011-04-12 12:01:20 -04:00
  • e514228043 fix printf("%.9g", 1.1) and similar not dropping trailing zeros Rich Felker 2011-04-12 11:50:52 -04:00
  • 209f2bbd95 add missing rlimit macros Rich Felker 2011-04-12 11:50:14 -04:00
  • 43b2e9bf26 more types cleanup Rich Felker 2011-04-11 10:48:52 -04:00
  • 28bde3b787 cleanup types stuff in headers, fix missing u_int*_t in sys/types.h Rich Felker 2011-04-11 10:38:00 -04:00
  • dae17a1aaf fix errno handling in scandir: Rich Felker 2011-04-11 01:58:14 -04:00
  • 52458cfa8c fix fputwc return value Rich Felker 2011-04-11 01:52:23 -04:00
  • 0161244784 remove ugly warning-suppression hack from crypt - this invokes UB! Rich Felker 2011-04-11 01:50:26 -04:00
  • 5eaa22132b update README since we now DO have a mailing list Rich Felker 2011-04-11 00:10:26 -04:00
  • 2555fe1b6d add some ugly legacy type names in sys/types.h (u_char etc.) Rich Felker 2011-04-10 22:47:43 -04:00
  • 691b20bec0 add legacy BSD-style timer*() macros in sys/time.h Rich Felker 2011-04-10 22:46:46 -04:00
  • 4a19634f07 add missing UTIME_* macros in sys/stat.h Rich Felker 2011-04-10 18:32:59 -04:00
  • 196d6437dc add missing float.h macros Rich Felker 2011-04-10 18:27:47 -04:00
  • 2063c4cac2 run pthread tsd destructors when a timer thread pretends to exit Rich Felker 2011-04-09 02:26:55 -04:00
  • 82171d6ac0 greatly improve SIGEV_THREAD timers Rich Felker 2011-04-09 02:23:33 -04:00
  • 2d1d62ed47 prepare notes for 0.7.8 release Rich Felker 2011-04-09 01:32:38 -04:00
  • 2cff36a84f work around a nasty bug in linux readv syscall Rich Felker 2011-04-09 01:17:55 -04:00
  • 67e793e5e1 better fix sysconf pthread stack min Rich Felker 2011-04-08 12:16:24 -04:00
  • 5e72cb4a36 consistency with pthread stack min in limits.h Rich Felker 2011-04-08 12:15:37 -04:00
  • 60685ecad1 fix broken sigsetjmp on x86_64 Rich Felker 2011-04-08 11:56:52 -04:00
  • 7168790763 workaround broken msghdr struct on 64bit linux Rich Felker 2011-04-08 09:24:19 -04:00
  • 5b8d81f706 fix ipv6 address printing: 2001 appeared as 201, etc. Rich Felker 2011-04-08 09:21:51 -04:00
  • d104c1f7e2 fix broken dns response parsing code that made most ipv6 lookups fail Rich Felker 2011-04-08 08:49:28 -04:00
  • e2cc0bee11 return the requested string as the "canonical name" for numeric addresses Rich Felker 2011-04-08 08:14:28 -04:00
  • d4fbebe18d fix uninitialized variables in dns lookup code Rich Felker 2011-04-07 23:18:12 -04:00
  • 74f75541ff fix bug in TRE found by clang (typo && instead of &) Rich Felker 2011-04-07 23:13:47 -04:00
  • cb8dff2149 fix misplaced *'s in string functions (harmless) Rich Felker 2011-04-07 16:19:30 -04:00
  • 4095f8338d fix broken unsigned comparison in wcstoumax Rich Felker 2011-04-07 16:13:47 -04:00
  • bb8d3d00e2 fix breakage due to converting a return type to size_t in iconv... Rich Felker 2011-04-07 16:10:44 -04:00
  • 6682ed1e74 fixed crash in new rsyscall (failure to set sa_flags for signal handler) Rich Felker 2011-04-06 20:43:39 -04:00
  • c2cd25bff8 consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix Rich Felker 2011-04-06 20:32:53 -04:00
  • b2486a8922 move rsyscall out of pthread_create module Rich Felker 2011-04-06 20:27:07 -04:00
  • 74950b336d pthread exit stuff: don't bother setting errno when we won't check it. Rich Felker 2011-04-06 19:47:50 -04:00
  • 622804ece7 fix rsyscall handler: must not clobber errno from signal context Rich Felker 2011-04-06 19:46:46 -04:00
  • 095ad15673 fix typo in sys/msg.h Rich Felker 2011-04-06 17:50:38 -04:00
  • 92bd4c6031 add startup abi functions, dummy for now. eventually needed for c++ support. Rich Felker 2011-04-06 16:40:19 -04:00
  • 97d0988fd8 add _res (__res_state()) dummy Rich Felker 2011-04-06 15:47:26 -04:00
  • 2b55a619e4 add IN_LOOPBACKNET constant (nonstandard but in reserved namespace) Rich Felker 2011-04-06 15:44:39 -04:00
  • 00817f0739 document more changes for 0.7.7 Rich Felker 2011-04-06 14:46:37 -04:00