freebsd-dev/lib/libc/sys
John Baldwin 0fe0ed8bf8 - Change mmap() to fail requests with EINVAL that pass a length of 0. This
behavior is mandated by POSIX.
- Do not fail requests that pass a length greater than SSIZE_MAX
  (such as > 2GB on 32-bit platforms).  The 'len' parameter is actually
  an unsigned 'size_t' so negative values don't really make sense.

Submitted by:	Alexander Best  alexbestms at math.uni-muenster.de
Reviewed by:	alc
Approved by:	re (kib)
MFC after:	1 week
2009-07-14 19:45:36 +00:00
..
__error.c
_exit.2
abort2.2
accept.2 Add Xr to getsockname(2) 2008-06-20 14:47:06 +00:00
access.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
acct.2
adjtime.2
aio_cancel.2 style(9) cleanup 2008-04-03 02:41:54 +00:00
aio_error.2
aio_read.2
aio_return.2
aio_suspend.2 style(9) cleanup 2008-04-03 02:41:54 +00:00
aio_waitcomplete.2
aio_write.2
bind.2 Document EINVAL for bind(2). 2009-06-01 09:32:12 +00:00
brk.2
chdir.2
chflags.2
chmod.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
chown.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
chroot.2
clock_gettime.2
close.2 Add a new 'void closefrom(int lowfd)' system call. When called, it closes 2009-06-15 20:38:55 +00:00
closefrom.2 Add a new 'void closefrom(int lowfd)' system call. When called, it closes 2009-06-15 20:38:55 +00:00
connect.2
cpuset_getaffinity.2 MFp4: 2008-11-29 14:32:14 +00:00
cpuset.2 Support for CPU sets is going to appear in 7.1 before 8.0. 2008-09-29 15:44:48 +00:00
dup.2
execve.2 - Don't suggest opening file for writing in preparation for fexecve(2). 2009-07-05 20:20:09 +00:00
extattr_get_file.2
fcntl.2 Add the new kernel-mode NFS Lock Manager. To use it instead of the 2008-03-26 15:23:12 +00:00
fcntl.c Call the fcntl compatiblity wrapper from the thread library fcntl wrappers 2008-05-30 14:47:42 +00:00
fhopen.2
flock.2
fork.2
fsync.2
ftruncate.c
getdirentries.2
getdtablesize.2
getfh.2
getfsstat.2
getgid.2
getgroups.2 In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
getitimer.2
getlogin.2
getpeername.2
getpgrp.2
getpid.2
getpriority.2
getrlimit.2 Usermode portion of the support for swap allocation accounting: 2009-06-23 20:57:27 +00:00
getrusage.2
getsid.2
getsockname.2
getsockopt.2 Make it clear where to look for for protocol-specific socket options. 2009-06-30 20:53:56 +00:00
gettimeofday.2
getuid.2
intro.2
ioctl.2
issetugid.2
jail.2 Add a limit for child jails via the "children.cur" and "children.max" 2009-06-23 20:35:51 +00:00
kenv.2
kill.2
kldfind.2
kldfirstmod.2
kldload.2
kldnext.2
kldstat.2
kldsym.2
kldunload.2 Document that kldunloadf can return EINVAL. 2008-12-25 09:15:31 +00:00
kqueue.2
kse.2
ktrace.2 remove whitespace bug (8 spaces into one tab) 2008-08-02 13:49:12 +00:00
link.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
lio_listio.2
listen.2
lseek.2
lseek.c
madvise.2
Makefile.inc Move msg{snd,recv,get,ctl} manual pages from section 3 to 2. 2009-07-13 12:53:43 +00:00
mincore.2 Add support to mincore for detecting whether a page is part of a 2008-03-28 04:29:27 +00:00
minherit.2
mkdir.2 - Forgot to bump a date after last change 2008-06-30 08:46:09 +00:00
mkfifo.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
mknod.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
mlock.2
mlockall.2
mmap.2 - Change mmap() to fail requests with EINVAL that pass a length of 0. This 2009-07-14 19:45:36 +00:00
mmap.c
modfind.2
modnext.2
modstat.2 Update the definition of modspecific structure 2008-07-15 10:06:37 +00:00
mount.2
mprotect.2
mq_close.2
mq_getattr.2
mq_notify.2
mq_open.2
mq_receive.2
mq_send.2
mq_setattr.2
msgctl.2 Move msg{snd,recv,get,ctl} manual pages from section 3 to 2. 2009-07-13 12:53:43 +00:00
msgget.2 Move msg{snd,recv,get,ctl} manual pages from section 3 to 2. 2009-07-13 12:53:43 +00:00
msgrcv.2 Move msg{snd,recv,get,ctl} manual pages from section 3 to 2. 2009-07-13 12:53:43 +00:00
msgsnd.2 Move msg{snd,recv,get,ctl} manual pages from section 3 to 2. 2009-07-13 12:53:43 +00:00
msync.2
munmap.2
nanosleep.2
nfssvc.2
ntp_adjtime.2
open.2 Add missing POSIX 1003.1-2008 open(2) flag; O_TTY_INIT. 2009-02-28 10:10:30 +00:00
pathconf.2 There is an optimization in chmod(1), that makes it not to call chmod(2) 2009-07-08 15:23:18 +00:00
pipe.2 Several cleanups related to pipe(2). 2008-11-11 14:55:59 +00:00
poll.2
posix_openpt.2 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
pread.c
profil.2
ptrace.2 Document missing requests. 2009-03-27 11:03:02 +00:00
pwrite.c
quotactl.2
read.2
readlink.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
reboot.2
recv.2 It's silly to claim recv(2) is to be removed in favour of recvfrom(2) 2008-11-30 21:40:01 +00:00
rename.2 Add one more EACCES clause to rename.2. 2008-11-07 15:01:40 +00:00
revoke.2 Add revoke(1). 2009-06-15 21:52:27 +00:00
rfork.2
rmdir.2
rtprio.2
sched_get_priority_max.2
sched_setparam.2
sched_setscheduler.2
sched_yield.2
sctp_generic_recvmsg.2 Sort man page cross references by section, no need for a comma after the 2009-04-13 18:32:26 +00:00
sctp_generic_sendmsg.2 Sort man page cross references by section, no need for a comma after the 2009-04-13 18:32:26 +00:00
sctp_peeloff.2 Sort man page cross references by section, no need for a comma after the 2009-04-13 18:32:26 +00:00
select.2
semctl.2 Make the structure definitions in the man pages match the real code, and 2009-06-29 18:54:17 +00:00
semget.2
semop.2
send.2 Standardize the various prison_foo_ip[46] functions and prison_if to 2009-02-05 14:06:09 +00:00
sendfile.2
setfib.2 Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
setgroups.2 In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
setpgid.2
setregid.2
setresuid.2
setreuid.2
setsid.2
setuid.2
shm_open.2
shmat.2
shmctl.2 Make the structure definitions in the man pages match the real code, and 2009-06-29 18:54:17 +00:00
shmget.2
shutdown.2
sigaction.2
sigaltstack.2
sigpending.2
sigprocmask.2
sigqueue.2
sigreturn.2
sigstack.2
sigsuspend.2
sigwait.2
sigwaitinfo.2
socket.2 Note that the protocol argument can be set to 0. 2009-01-05 12:18:46 +00:00
socketpair.2
stack_protector.c Back out previous revision until better tested fix is ready. 2009-06-29 01:33:59 +00:00
stat.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
statfs.2
swapon.2
Symbol.map There is an optimization in chmod(1), that makes it not to call chmod(2) 2009-07-08 15:23:18 +00:00
symlink.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
sync.2
sysarch.2
syscall.2
timer_create.2 - add missing include 2009-01-12 13:12:02 +00:00
timer_delete.2
timer_settime.2
truncate.2
truncate.c
umask.2
undelete.2
unlink.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
utimes.2 Man pages for the openat(2), fexecve(2) and related syscalls. 2008-04-16 13:03:12 +00:00
utrace.2
uuidgen.2
vfork.2
wait.2 Implement WNOWAIT flag for wait4(2). It specifies that process whose status 2008-08-26 12:37:16 +00:00
write.2