Commit Graph

834 Commits

Author SHA1 Message Date
Roland McGrath
4f75b7a09a Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX. 2012-08-03 11:39:30 -07:00
Pino Toscano
d2a54255fe Hurd: implement renameat
Provide an implementation of renameat, mostly based on rename.
2012-07-31 19:59:03 +02:00
Florian Weimer
84b3fd8407 Rename __secure_getenv to secure_getenv 2012-07-25 19:46:22 +02:00
Pino Toscano
b3404dbdeb Hurd: compliance fixes for getlogin_r
- make LOGIN non-static, as it would make getlogin_r no more reentrant; change its type to string_t
- fail with ERANGE if NAME has not enough space for the actual login string
- copy with memcpy only the chars of the string
2012-07-21 00:16:11 +02:00
Pino Toscano
0ced335ac0 Hurd: compliance fixes for getgroups
Fail with EINVAL when the requested number of groups is negative,
or when it is positive but less than the actual number of groups.
2012-07-21 00:06:33 +02:00
Pino Toscano
898c7aaba5 Hurd: provide lremovexattr
Add an implementation of lremovexattr based on removexattr.
2012-07-21 00:01:57 +02:00
Pino Toscano
f98eafbd5d Hurd: provide llistxattr
Add an implementation of llistxattr based on listxattr.
2012-07-21 00:00:20 +02:00
Pino Toscano
ac4ea442f3 Hurd: sendto: do not crash when ADDR is null
Create a new create_address_port subroutine to isolate the address port creation
(for both local and remove sockets), and use it inside HURD_DPORT_USE.
Also intialize APORT to MACH_PORT_NULL and make sure to always deallocate it,
when not null.
2012-07-20 23:56:58 +02:00
Marek Polacek
7b8e0d49cb Get rid of ASM_GLOBAL_DIRECTIVE. 2012-07-10 14:30:24 +02:00
Thomas Schwinge
a9fa33ba8b Some missing bits from sysdeps/*/elf dismissal.
This fixes up commits 735095ae95,
09ae94c11b, and
ff962fb6a1.
2012-06-23 12:27:58 +02:00
Joseph Myers
79662d4270 Regenerate sysdeps/mach/configure. 2012-06-21 19:20:33 +00:00
Andreas Schwab
03277f8fe1 Remove use of INTDEF/INTUSE in socket 2012-05-31 00:34:41 +02:00
Andreas Schwab
d18ea0c5e6 Remove use of INTDEF/INTUSE in libio 2012-05-24 23:06:20 +02:00
Roland McGrath
d6c33fda03 Switch gettimeofday from INTUSE to libc_hidden_proto. 2012-05-24 13:12:34 -07:00
H.J. Lu
3e5aef87d7 Add __fsword_t and use it in bits/statfs.h 2012-05-17 17:20:52 -07:00
H.J. Lu
48970aba30 Fold copyright years 2012-05-16 20:02:44 -07:00
H.J. Lu
a46f2169d3 Remove __snseconds_t 2012-05-15 18:05:26 -07:00
H.J. Lu
6af6528b3b Add __SYSCALL_{S,U}LONG_TYPE to hurd typesizes.h 2012-05-15 17:54:06 -07:00
Thomas Schwinge
febb44a4cb [BZ #13673] Replace FSF snail mail address with URL. 2012-05-11 17:39:57 +08:00
Samuel Thibault
61f06bd3ba Hurd: fix mode type for openat 2012-05-10 15:57:29 -07:00
Samuel Thibault
918d4d7163 Hurd: Fix port deallocation on mknod error. 2012-05-10 15:57:28 -07:00
Samuel Thibault
f34d6f840e Hurd: Fix __dup3 _hurd_dtable_lock usage. 2012-05-10 15:57:28 -07:00
Thomas Schwinge
674cdbc7a3 Hurd: Support --prefix=/usr special-casing for all GNU systems. 2012-05-10 15:57:28 -07:00
Thomas Schwinge
8e41b99fe1 Hurd: struct timespec members in struct stat 2012-05-10 15:57:28 -07:00
Samuel Thibault
3faebe6abc Hurd: Fix setres[ug]id handling of -1 2012-05-10 15:57:27 -07:00
Samuel Thibault
1043890b10 Hurd: Fix sbrk beyond 128MB 2012-05-10 15:57:27 -07:00
Pino Toscano
37ed8b9bdc Hurd: recvfrom(): take into account null address ports 2012-05-10 15:57:27 -07:00
Samuel Thibault
b29d4053f0 Hurd: readlinkat 2012-05-10 15:57:27 -07:00
Samuel Thibault
db65366043 Hurd: Update posix_opt.h 2012-05-10 15:57:27 -07:00
Samuel Thibault
ee16e894aa Hurd: Fix POSIX 2008 visibility 2012-05-10 15:57:26 -07:00
Thomas Schwinge
80b4e5f3ef Hurd: opendirat 2012-05-10 15:57:26 -07:00
Samuel Thibault
edadcbd624 Hurd: empty file names fail with ENOENT 2012-05-10 15:57:26 -07:00
Samuel Thibault
66cbbebcc6 Hurd: Fix mlock in all cases except non-readable pages. 2012-05-10 15:57:25 -07:00
Samuel Thibault
6b645f0d70 Hurd: Fix mkdir / error value 2012-05-10 15:57:25 -07:00
Pino Toscano
a4186cffbf Hurd: mach: compliance fixes for nanosleep 2012-05-10 15:57:25 -07:00
Thomas Schwinge
510bbf14b4 Hurd: Include RPC user stubs in linkobj/libc.so 2012-05-10 15:57:25 -07:00
Samuel Thibault
5d5722e8ac Hurd: Fix value of __libc_stack_end 2012-05-10 15:57:24 -07:00
Thomas Schwinge
be971a2b1c Hurd: libc_once_get 2012-05-10 15:57:24 -07:00
Samuel Thibault
bbc49098ff Hurd: setitimer.c: Fix unlock in error patch 2012-05-10 15:57:24 -07:00
Samuel Thibault
6753048948 Hurd: ioctl() incorrectly decodes argument 2012-05-10 15:57:23 -07:00
Thomas Schwinge
18bad2ae1b Hurd: Avoid init-first.c miscompilation. 2012-05-10 15:57:23 -07:00
Thomas Schwinge
5aa3a74a59 Hurd: dup3 2012-05-10 15:57:23 -07:00
Samuel Thibault
cd9fa98583 Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED. 2012-05-10 15:57:23 -07:00
Samuel Thibault
802ca5a5ef Hurd: Missing critical region locks. 2012-05-10 15:57:23 -07:00
Thomas Schwinge
6960eb420d Hurd: bits/socket.h 2012-05-10 15:57:22 -07:00
Thomas Schwinge
eb43375f0f Hurd: accept4 2012-05-10 15:57:22 -07:00
Thomas Schwinge
bcf5524012 Hurd: ____longjmp_chk 2012-05-10 15:57:22 -07:00
Thomas Schwinge
6f080c2fcf Hurd: O_CLOEXEC in rtld 2012-05-10 15:57:22 -07:00
Roland McGrath
87ef29ca94 Hurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate. 2012-04-24 13:13:16 -07:00
H.J. Lu
4be2b57003 Add __snseconds_t and __SNSECONDS_T_TYPE 2012-04-11 11:02:59 -07:00