aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/pioctl.h
Commit message (Collapse)AuthorAgeFilesLines
* Kernel modifications necessary to allow to follow fork()ed children.Matthew N. Dodd2002-08-041-0/+1
| | | | | | | | PR: bin/25587 (in part) MFC after: 3 weeks Notes: svn path=/head/; revision=101284
* Add the as-yet-unused S_ALLSTOPS which I forgot in previous commit.Dag-Erling Smørgrav2001-11-021-0/+1
| | | | Notes: svn path=/head/; revision=85917
* Upon further reflection, back out previous commit, partly for the reasonsDag-Erling Smørgrav2001-10-221-0/+7
| | | | | | | | Bruce stated and partly because it introduces gratuitous incompatibilities with -STABLE. Notes: svn path=/head/; revision=85316
* Move the stop event macros from pioctl.h to proc.h, and add an S_ALLSTOPSDag-Erling Smørgrav2001-10-221-7/+0
| | | | | | | macro to represent "all stop events". Notes: svn path=/head/; revision=85300
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add a copyright and license notice, on Jordan's request.Sean Eric Fagan1997-12-201-1/+33
| | | | Notes: svn path=/head/; revision=31898
* Clear the p_stops field on change of user/group id, unless the correctSean Eric Fagan1997-12-201-2/+2
| | | | | | | | | | | | flag is set in the p_pfsflags field. This, essentially, prevents an SUID proram from hanging after being traced. (E.g., "truss /usr/bin/rlogin" would fail, but leave rlogin in a stopevent state.) Yet another case where procctl is (hopefully ;)) no longer needed in the general case. Reviewed by: bde (thanks bruce :)) Notes: svn path=/head/; revision=31891
* Explicitly use the _IOC macro directly. This changes the ioctl commandSean Eric Fagan1997-12-151-5/+5
| | | | | | | numbers, so any programs using it need to be recompiled. Notes: svn path=/head/; revision=31719
* Change the ioctls for procfs around a bit; in particular, whever possible,Sean Eric Fagan1997-12-131-6/+7
| | | | | | | | | | | | | | | | | change from ioctl(fd, PIOC<foo>, &i); to ioctl(fd, PIOC<foo>, i); This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and truss must be in synch for it all to work (not doing so will get errors about inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :). Notes: svn path=/head/; revision=31691
* A couple of fixes from bruce: first of all, psignal is a void (stupidSean Eric Fagan1997-12-081-2/+2
| | | | | | | | | | | me; unfortunately, also makes it hard ot check for errors); second, I had managed to forget a change to PIOCSFL (it should be _IOW, not _IOR) I had in my local copy, and Bruce called me on it. Submitted by: bde Notes: svn path=/head/; revision=31636
* Add a procfs-related flag for procp->p_pfsflags.Sean Eric Fagan1997-12-071-1/+9
| | | | Notes: svn path=/head/; revision=31594
* Changes to allow event-based process monitoring and control.Sean Eric Fagan1997-12-061-0/+36
Notes: svn path=/head/; revision=31564