#
c2cac506 |
| 23-Jun-2018 |
gson <gson@NetBSD.org> |
No semicolon after macro do ... while (0) wrapper.
|
#
059ddf27 |
| 19-May-2015 |
joerg <joerg@NetBSD.org> |
Use __BEGIN_DECLS / __END_DECLS consistently for _KERNEL part too. Don't pollute namespace by including sys/sysctl.h for !_KERNEL part.
|
#
fbd526e0 |
| 13-May-2015 |
pgoyette <pgoyette@NetBSD.org> |
Another xxxfini() routine.
|
#
c0696ff1 |
| 10-May-2015 |
pgoyette <pgoyette@NetBSD.org> |
Split the SYSV* compat code out into a separate compat_sysv module.
For monolithic kernels, both modules will be compiled as "built-ins", while modular environments will be able to load the SYSVSEM,
Split the SYSV* compat code out into a separate compat_sysv module.
For monolithic kernels, both modules will be compiled as "built-ins", while modular environments will be able to load the SYSVSEM, SYSVSHM, and SYSVMSG code independant from the rest of compat.
This is a necessary precursor step to making the "STD" SYSV* code into a separate module.
Tested in both monolithic and modular environments with no errors seen.
show more ...
|
#
bd26c726 |
| 13-Mar-2012 |
elad <elad@NetBSD.org> |
Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the follow
Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
show more ...
|
#
8ac3875a |
| 08-Feb-2011 |
rmind <rmind@NetBSD.org> |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as the
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
show more ...
|
#
143e6033 |
| 19-Jan-2009 |
christos <christos@NetBSD.org> |
Provide compatibility for pre-christos-time_t sysv sysctls.
|
#
fc9422c9 |
| 14-May-2006 |
elad <elad@NetBSD.org> |
integrate kauth.
|
#
144515ce |
| 26-Dec-2005 |
perry <perry@NetBSD.org> |
u_intN_t -> uintN_t
|
#
e68103df |
| 11-Nov-2005 |
christos <christos@NetBSD.org> |
move compat code out.
|
#
0e1b702c |
| 03-Feb-2005 |
perry <perry@NetBSD.org> |
de-__P
|
#
aad01611 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
4be7a2dc |
| 28-Apr-2003 |
bjh21 <bjh21@NetBSD.org> |
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour.
This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
show more ...
|
#
dbfd055e |
| 07-Aug-2002 |
soren <soren@NetBSD.org> |
Expose the IPC_[RWM] symbols to userspace. Fixes PR misc/14515 by Hendrik Scholz.
|
#
38cc1b39 |
| 02-Jun-2000 |
simonb <simonb@NetBSD.org> |
Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO", "KERN_SYSVIPC_SEM_INFO" and "KERN_SYSVIPC_SHM_INFO" to return the info and data structures for the relevent SysV IPC types. The
Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO", "KERN_SYSVIPC_SEM_INFO" and "KERN_SYSVIPC_SHM_INFO" to return the info and data structures for the relevent SysV IPC types. The return structures use fixed-size types and should be compat32 safe. All user-visible changes are protected with #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
Make all variable declarations extern in msg.h, sem.h and shm.h and add relevent variable declarations to sysv_*.c and remove unneeded header files from those .c files.
Make compat14 SysV IPC conversion functions and sysctl_file() static.
Change the data pointer to "void *" in sysctl_clockrate(), sysctl_ntptime(), sysctl_file() and sysctl_doeproc().
show more ...
|
#
44c6357b |
| 25-Aug-1999 |
thorpej <thorpej@NetBSD.org> |
Pull in <sys/types.h>.
|
#
dc8ecaa1 |
| 25-Aug-1999 |
thorpej <thorpej@NetBSD.org> |
Overhaul of the SVID IPC facilities, primarily to use the types specified by the Single UNIX Specification version 2, rather than the SVR2-derived types. While I was here, I did a namespace sweep to
Overhaul of the SVID IPC facilities, primarily to use the types specified by the Single UNIX Specification version 2, rather than the SVR2-derived types. While I was here, I did a namespace sweep to expose the constants and strucutures, and structure members described by SUSv2; documentation updates coming shortly.
Fixes kern/8158.
show more ...
|
#
17f5893b |
| 17-Apr-1999 |
kleink <kleink@NetBSD.org> |
Indentiation oversight in previous.
|
#
9dc5fdfd |
| 17-Apr-1999 |
kleink <kleink@NetBSD.org> |
s/ushort/unsigned short/ as the former isn't available in an _XOPEN_SOURCE environment. XXX should change the interface to use uid_t/gid_t/mode_t
|
#
e78e0866 |
| 12-Nov-1998 |
christos <christos@NetBSD.org> |
change the id arg of ftok from char to int.
|
#
0af913eb |
| 07-May-1998 |
kleink <kleink@NetBSD.org> |
Move the IPC_[MWR] constants inside _KERNEL protection; they serve the sole purpose of being flags to ipcperm().
|
#
e5bc90f4 |
| 01-Mar-1998 |
fvdl <fvdl@NetBSD.org> |
Merge with Lite2 + local changes
|
#
22ca27a0 |
| 09-Feb-1996 |
christos <christos@NetBSD.org> |
Filesystem prototype changes
|
#
7c042338 |
| 26-Mar-1995 |
jtc <jtc@NetBSD.org> |
KERNEL -> _KERNEL
|
#
f3933d90 |
| 05-Dec-1994 |
mycroft <mycroft@NetBSD.org> |
Fix IPC_M.
|