summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_sockio.c
Commit message (Collapse)AuthorAgeFilesLines
* Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE andrwatson2005-08-091-1/+2
| | | | | | | | | | | | | | IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to ifnet.if_drv_flags. Device drivers are now responsible for synchronizing access to these flags, as they are in if_drv_flags. This helps prevent races between the network stack and device driver in maintaining the interface flags field. Many __FreeBSD__ and __FreeBSD_version checks maintained and continued; some less so. Reviewed by: pjd, bz MFC after: 7 days
* Start each of the license/copyright comments with /*-imp2005-01-051-1/+1
|
* Use __FBSDID().obrien2003-06-101-2/+3
|
* SMP locking for ifnet list.hsu2002-12-221-3/+2
|
* Replace the conventional usage of strncpy() by using strlcpy().robert2002-10-171-1/+1
|
* In continuation of early fileop credential changes, modify fo_ioctl() torwatson2002-08-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | accept an 'active_cred' argument reflecting the credential of the thread initiating the ioctl operation. - Change fo_ioctl() to accept active_cred; change consumers of the fo_ioctl() interface to generally pass active_cred from td->td_ucred. - In fifofs, initialize filetmp.f_cred to ap->a_cred so that the invocations of soo_ioctl() are provided access to the calling f_cred. Pass ap->a_td->td_ucred as the active_cred, but note that this is required because we don't yet distinguish file_cred and active_cred in invoking VOP's. - Update kqueue_ioctl() for its new argument. - Update pipe_ioctl() for its new argument, pass active_cred rather than td_ucred to MAC for authorization. - Update soo_ioctl() for its new argument. - Update vn_ioctl() for its new argument, use active_cred rather than td->td_ucred to authorize VOP_IOCTL() and the associated VOP_GETATTR(). Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove __P.alfred2002-03-201-1/+1
|
* KSE Milestone 2julian2001-09-121-4/+4
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Use queue macros.jhb2001-01-231-5/+4
|
* Cleanup after repo copy of sys/svr4 to sys/compat/svr4.obrien2000-08-311-4/+4
|
* Remove unnecessary includesnewton1999-12-081-5/+0
| | | | Prodded by: phk
* Remove unnecessary includes.newton1999-10-171-4/+0
| | | | Submitted by: phk
* This is what was "fdfix2.patch," a fix for fd sharing. It's prettygreen1999-09-191-4/+2
| | | | | | | | | | | | | | | | | far-reaching in fd-land, so you'll want to consult the code for changes. The biggest change is that now, you don't use fp->f_ops->fo_foo(fp, bar) but instead fo_foo(fp, bar), which increments and decrements the fp refcount upon entry and exit. Two new calls, fhold() and fdrop(), are provided. Each does what it seems like it should, and if fdrop() brings the refcount to zero, the fd is freed as well. Thanks to peter ("to hell with it, it looks ok to me.") for his review. Thanks to msmith for keeping me from putting locks everywhere :) Reviewed by: peter
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$ tagsnewton1999-07-301-0/+2
|
* Oops - Ripped out a bit of debugging code which will stop certain bitsnewton1999-01-301-1/+1
| | | | of networking from working for people without DEC Tulip ethernet cards.
* Emulator KLD for SysVR4 executables grabbed from NetBSD.newton1999-01-301-0/+174
See http://www.freebsd.org/~newton/freebsd-svr4 for limitations, capabilities, history and TO-DO list.
OpenPOWER on IntegriCloud