1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/sys/i386/ibcs2
Brooks Davis 9126964cdb Only allocate the space we need before calling kern_getgroups instead
of allocating what ever the user asks for up to "ngroups_max + 1".  On
systems with large values of kern.ngroups this will be more efficient.

The now redundant check that the array is large enough in
kern_getgroups() is deliberate to allow this change to be merged to
stable/8 without breaking potential third party consumers of the API.

Reported by:	bde
MFC after:	28 days
2010-01-15 07:18:46 +00:00
..
coff.h
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_fcntl.c
ibcs2_fcntl.h
ibcs2_ioctl.c Burn TTY ioctl bridges in compat layers. 2009-05-08 20:06:37 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c Fix ibcs2_ipc.c build by adding missing limits.h include. 2009-06-25 07:25:39 +00:00
ibcs2_ipc.h
ibcs2_isc_syscall.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_isc_sysent.c Regen for added flags field. 2009-06-17 19:53:20 +00:00
ibcs2_isc.c
ibcs2_misc.c Only allocate the space we need before calling kern_getgroups instead 2010-01-15 07:18:46 +00:00
ibcs2_mount.h
ibcs2_msg.c
ibcs2_other.c
ibcs2_proto.h As jhb@ pointed out to me, r197057 was incorrect, not least because these 2009-09-10 13:20:27 +00:00
ibcs2_signal.c
ibcs2_signal.h
ibcs2_socksys.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
ibcs2_socksys.h
ibcs2_stat.c
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h Regenerate ibcs2 system call table. 2009-05-08 20:08:43 +00:00
ibcs2_sysent.c Regenerate generated syscall files following changes to struct sysent in 2009-06-01 16:14:38 +00:00
ibcs2_sysi86.c
ibcs2_sysvec.c
ibcs2_termios.h
ibcs2_time.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.c
ibcs2_util.h
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_xenix_syscall.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_xenix_sysent.c Regen for added flags field. 2009-06-17 19:53:20 +00:00
ibcs2_xenix.c
ibcs2_xenix.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
imgact_coff.c
Makefile
syscalls.conf
syscalls.isc
syscalls.isc.conf
syscalls.master Burn TTY ioctl bridges in compat layers. 2009-05-08 20:06:37 +00:00
syscalls.xenix
syscalls.xenix.conf