freebsd-dev/lib/libc/sys
Robert Watson ccfddc1cce Clarify the behavior of ptrace(2) a little bit: the tracing process
must first attach to the traced process.  If the tracing process
exits without detaching, the traced process will be killed rather
than continued.  For the duration of the tracing session, the traced
process is reparented to the tracing process (with resulting expected
behaviors).  It is permissible to trace more than one other process
at a time.  When using waitpid() to monitor the behavior of the traced
process, signals are intercepted: they may optionally then be
forwarded using ptrace().  Signals are generated normally by and for
the process, but also by the tracing facility (SIGTRAP).

Product of:	Suffering
Sponsored by:	DARPA, AFRL
2004-01-10 17:41:04 +00:00
..
__error.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
_exit.2 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
accept.2 Add restrict qualifiers. (docs) 2003-12-24 18:52:41 +00:00
access.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
acct.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
adjtime.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
aio_cancel.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_error.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_read.2 Including <time.h> before <aio.h> has not been necessary for a while now. 2003-01-14 02:37:06 +00:00
aio_return.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_suspend.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_waitcomplete.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
aio_write.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
bind.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
brk.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
chdir.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
chflags.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
chmod.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
chown.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
chroot.2 Document a bug in our chroot(2) implementation: if access control 2003-01-31 21:19:22 +00:00
clock_gettime.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
close.2 Document ENOSPC. 2003-06-13 22:41:12 +00:00
connect.2 Document that connect(2) can return EINTR, and that it 2003-08-06 14:21:06 +00:00
dup.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
execve.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
extattr_get_file.2 Document the new explicit listing API for extended attributes; note 2003-06-04 04:00:26 +00:00
fcntl.2 Prevent uppercase after .Xr by adding ``The ... utility/system call''. 2003-02-05 13:36:13 +00:00
fhopen.2 english(4) police. 2002-12-27 12:15:40 +00:00
flock.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
fork.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
fsync.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
ftruncate.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
getdirentries.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getdtablesize.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getfh.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getfsstat.2 Replace out of date struct statfs definition with a reference to statfs(2). 2003-11-21 01:30:28 +00:00
getgid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getgroups.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getitimer.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
getlogin.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
getpeername.2 Add restrict qualifiers. (docs) 2003-12-24 18:52:41 +00:00
getpgrp.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getpid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getpriority.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getrlimit.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getrusage.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getsid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getsockname.2 Add restrict qualifiers. (docs) 2003-12-24 18:52:41 +00:00
getsockopt.2 Add restrict qualifiers. (docs) 2003-12-24 18:52:41 +00:00
gettimeofday.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
getuid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
intro.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
ioctl.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
issetugid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
jail.2 - Markup fix-ups (add .Dq, and some hard line breaks at the end 2003-11-11 18:31:36 +00:00
kenv.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
kill.2 - fix description of what processes SIGCONT can be sent to 2003-10-24 21:20:26 +00:00
kldfind.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldfirstmod.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldload.2 Document that kldload(2) can also return EEXIST. 2003-06-03 12:29:34 +00:00
kldnext.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldstat.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldsym.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
kldunload.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kqueue.2 Add information about the EVFILT_NETDEV filter 2003-11-11 16:41:27 +00:00
kse.2 Add a short description of the kse_switchin(2) syscall to the kse 2003-12-10 02:38:51 +00:00
ktrace.2 Document the effect of sysctl tunables controlling p_candebug(9) on 2003-12-14 14:54:53 +00:00
link.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
lio_listio.2 Assorted mdoc(7) fixes. 2003-06-01 19:19:59 +00:00
listen.2 Document that listen() can return EINVAL now. 2003-01-17 19:25:27 +00:00
lseek.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
lseek.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
madvise.2 Add the POSIX 1003.1-2001 posix_madvise() interface. 2003-08-09 03:23:24 +00:00
Makefile.inc Add a short description of the kse_switchin(2) syscall to the kse 2003-12-10 02:38:51 +00:00
mincore.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
minherit.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
mkdir.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mkfifo.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mknod.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mlock.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mlockall.2 Add the mlockall()/munlockall() system call manual page from NetBSD. 2003-08-11 07:16:21 +00:00
mmap.2 Spelling: s/then/than/ where appropriate. 2002-12-24 16:52:31 +00:00
mmap.c Fix style (no space after return, twice-too-big continuation) and 2002-12-22 03:20:16 +00:00
modfind.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
modnext.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
modstat.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
mount.2 In the !MNT_BYFSID case, return EINVAL from unmount(2) when the 2003-09-08 16:23:21 +00:00
mprotect.2 mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
msync.2 - Add documentation for EBUSY. 2003-11-14 07:18:12 +00:00
munmap.2 Document EINVAL for len == 0. 2003-11-10 08:02:05 +00:00
nanosleep.2 Grammatical fixup: s/be the -1/be -1/ 2002-12-19 21:48:43 +00:00
nfssvc.2 Prevent uppercase after .Xr by adding ``The ... utility/system call''. 2003-02-05 13:36:13 +00:00
ntp_adjtime.2 ntp_adjtime returns the current state of the clock (TIME_*) on success 2003-06-20 21:14:59 +00:00
ntp_gettime.2 mdoc(7): Fix common mistakes made in the SEE ALSO section. 2003-09-12 21:54:11 +00:00
open.2 Fix/add errno return values to match the NFS client implementation and 2003-09-02 16:50:17 +00:00
pathconf.2 Typo fixes. 2003-01-07 05:06:27 +00:00
pipe.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
poll.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
pread.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
profil.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
ptrace.2 Clarify the behavior of ptrace(2) a little bit: the tracing process 2004-01-10 17:41:04 +00:00
pwrite.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
quotactl.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
read.2 Fix/add errno return values to match the NFS client implementation and 2003-09-02 16:50:17 +00:00
readlink.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
reboot.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
recv.2 Add restrict qualifiers. (docs) 2003-12-24 18:52:41 +00:00
rename.2 Fixed the abuses of .Ql visible on stderr in troff mode. 2002-12-23 16:04:51 +00:00
revoke.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
rfork.2 Correct the return value of vfork(2) and rfork(2) in their 2003-04-27 21:01:34 +00:00
rmdir.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
rtprio.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sched_get_priority_max.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sched_setparam.2 .Xr p1003_1b moved to .St -p1003.1b-93 2003-06-08 10:11:13 +00:00
sched_setscheduler.2 .Xr p1003_1b moved to .St -p1003.1b-93 2003-06-08 10:11:13 +00:00
sched_yield.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
select.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
sem.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
semctl.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
semget.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
semop.2 Bring semop() closer the the opengroup standards. 2003-01-25 21:27:37 +00:00
send.2 Document the fact that send(2) can return EPIPE (like when a socket is not 2003-09-10 19:19:49 +00:00
sendfile.2 Describe kern.ipc.nsfbufsused and kern.ipc.nsfbufspeak. 2003-12-29 12:29:37 +00:00
setgroups.2 Documented missing EINVAL errno value 2003-11-19 13:05:50 +00:00
setpgid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setregid.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
setresuid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setreuid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setsid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setuid.2 Typo fixes. 2003-01-07 05:06:27 +00:00
shm_open.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
shmat.2 Bring shm functions closer the the opengroup standards. 2003-01-25 21:33:05 +00:00
shmctl.2 mdoc(7) police: Fixed a few .Fa abuses. 2002-12-19 09:33:34 +00:00
shmget.2 Bring shm functions closer the the opengroup standards. 2003-01-25 21:33:05 +00:00
shutdown.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sigaction.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
sigaltstack.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sigpending.2 Unify cross-references between sigpending(2), sigprocmask(2), 2003-06-24 15:41:19 +00:00
sigprocmask.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
sigreturn.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sigstack.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sigsuspend.2 Unify cross-references between sigpending(2), sigprocmask(2), 2003-06-24 15:41:19 +00:00
sigwait.2 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
socket.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
socketpair.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
stat.2 Add sticky(8) cross reference. 2003-12-10 15:08:41 +00:00
statfs.2 Resync. struct statfs and flag definitions with sys/mount.h. 2003-11-16 04:08:16 +00:00
swapon.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
symlink.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sync.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sysarch.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
syscall.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
truncate.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
truncate.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
umask.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
undelete.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
unlink.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
utimes.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
utrace.2 Have utrace(2) return ENOMEM if malloc() fails. Document this error 2003-11-11 04:54:11 +00:00
uuidgen.2 Correct a misspelled name of time_hi_and_version. 2003-06-27 13:41:29 +00:00
vfork.2 Correct the return value of vfork(2) and rfork(2) in their 2003-04-27 21:01:34 +00:00
wait.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
write.2 Changed EINVAL constant reference from UIO_MAXIOV to IOV_MAX. 2003-10-11 20:47:44 +00:00