#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
224016 |
|
14-Jul-2011 |
bz |
Remove semaphore map entry count "semmap" field and its tuning option that is highly recommended to be adjusted in too much documentation while doing nothing in FreeBSD since r2729 (rev 1.1).
ipcs(1) needs to be recompiled as it is accessing _KERNEL private variables.
Reviewed by: jhb (before comment change on linux code) Sponsored by: Sandvine Incorporated
|
#
220388 |
|
06-Apr-2011 |
trasz |
Add ucred pointer to the SysV-related memory structures. This is required for racct.
Note that after this commit, ipcs(1) needs to be rebuilt. Otherwise, it will fail with "ipcs: sysctlbyname: kern.ipc.msqids: Cannot allocate memory".
Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version)
|
#
194910 |
|
24-Jun-2009 |
jhb |
Change the ABI of some of the structures used by the SYSV IPC API: - The uid/cuid members of struct ipc_perm are now uid_t instead of unsigned short. - The gid/cgid members of struct ipc_perm are now gid_t instead of unsigned short. - The mode member of struct ipc_perm is now mode_t instead of unsigned short (this is merely a style bug). - The rather dubious padding fields for ABI compat with SV/I386 have been removed from struct msqid_ds and struct semid_ds. - The shm_segsz member of struct shmid_ds is now a size_t instead of an int. This removes the need for the shm_bsegsz member in struct shmid_kernel and should allow for complete support of SYSV SHM regions >= 2GB. - The shm_nattch member of struct shmid_ds is now an int instead of a short. - The shm_internal member of struct shmid_ds is now gone. The internal VM object pointer for SHM regions has been moved into struct shmid_kernel. - The existing __semctl(), msgctl(), and shmctl() system call entries are now marked COMPAT7 and new versions of those system calls which support the new ABI are now present. - The new system calls are assigned to the FBSD-1.1 version in libc. The FBSD-1.0 symbols in libc now refer to the old COMPAT7 system calls. - A simplistic framework for tagging system calls with compatibility symbol versions has been added to libc. Version tags are added to system calls by adding an appropriate __sym_compat() entry to src/lib/libc/incldue/compat.h. [1]
PR: kern/16195 kern/113218 bin/129855 Reviewed by: arch@, rwatson Discussed with: kan, kib [1]
|
#
189814 |
|
14-Mar-2009 |
das |
Namespace: semsys() and shmsys() aren't standard.
|
#
164068 |
|
07-Nov-2006 |
jhb |
Remove extra forward declare of 'struct sem'.
Requested by: bde
|
#
163506 |
|
19-Oct-2006 |
jhb |
- Define time_t in sys/sem.h so it doesn't require sys/types.h. - Move the pid_t, size_t, and time_t definitions earlier in the file, sort them, and fix whitespace. - Drop redundant includes of sys/cdefs.h and sys/_types.h as sys/ipc.h already includes them.
PR: kern/104436 Reviewed by: bde Reported by: clsung MFC after: 3 days
|
#
137816 |
|
17-Nov-2004 |
rwatson |
In the kernel-only portionss of System V IPC objects (messages, message queues, shared memory segments, and semaphores), add a struct label pointer, which will hold the MAC labels for the objects. As a result of recent work to separate kernel and user space ABIs, this should not break the ABI for applications using System V IPC, but will require a rebuild of the ipcs monitoring tool.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research
|
#
137611 |
|
12-Nov-2004 |
rwatson |
First of several commits to allow kernel System V IPC data structures to be modified and extended without breaking the user space ABI:
Define _kernel wrapper data structures for the user-exposed data structures that current server as the internal data structures for the implementation:
- struct msqid_kernel wraps struct msqid_ds. - struct semid_kernel wraps truct semid_ds. - struct shmid_kernel wraps struct shmid_ds. - Don't expose extern definition 'shmsegs' outside of sysv_shm.c.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research
|
#
115708 |
|
02-Jun-2003 |
schweikh |
s/u_short/unsigned short/ to make this compile if _POSIX_C_SOURCE=200112 Fix a few but probably not all style bugs.
Suggested by: bde MFC after: 2 weeks
|
#
109829 |
|
25-Jan-2003 |
alfred |
Bring semop() closer the the opengroup standards.
PR: 47471 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
|
#
92719 |
|
19-Mar-2002 |
alfred |
Remove __P
|
#
84789 |
|
11-Oct-2001 |
mr |
Fix SysV Semaphore Handling. Updated by peter following KSE and Giant pushdown. I've running with this patch for two week with no ill side effects.
PR: kern/12014: Fix SysV Semaphore handling Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
#
83414 |
|
13-Sep-2001 |
mr |
PR: kern/29698 (part) Reviewed by: audit Implement SEM_STAT (like IPC_STAT but treats semid as sema-index). The linuxerator will need it.
|
#
59839 |
|
01-May-2000 |
peter |
Move the MSG* and SEM* options to opt_sysvipc.h Remove evil allocation macros from machdep.c (why was that there???) and use malloc() instead. Move paramters out of param.h and into the code itself. Move a bunch of internal definitions from public sys/*.h headers (without #ifdef _KERNEL even) into the code itself.
I had hoped to make some of this more dynamic, but the cost of doing wakeups on all sleeping processes on old arrays was too frightening. The other possibility is to initialize on the first use, and allow dynamic sysctl changes to parameters right until that point. That would allow /etc/rc.sysctl to change SEM* and MSG* defaults as we presently do with SHM*, but without the nightmare of changing a running system.
|
#
59828 |
|
01-May-2000 |
peter |
Remove the undocumented, flawed, broken-as-designed semconfig() syscall.
|
#
55205 |
|
29-Dec-1999 |
peter |
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
41804 |
|
14-Dec-1998 |
dillon |
Remove hardwired alignment, align to sizeof(long) which should be more portable (though the hardwired alignment of 16 would also have worked just fine and perhaps even resulted in better L1 cache operation).
|
#
41800 |
|
14-Dec-1998 |
dillon |
Accidently broke structural alignment in SEMUSZ calculation. Added alignment back in ( but am also keeping the use offsetof() ).
|
#
41774 |
|
14-Dec-1998 |
dillon |
Fixed problems with kernel config file overrides of sysv semaphore parameters. Prior to this fix a kernel config override would effect only some of the kernel files, resulting in panics.
PR: kern/9068
|
#
37649 |
|
15-Jul-1998 |
bde |
Cast pointers to uintptr_t/intptr_t instead of to u_long/long, respectively. Most of the longs should probably have been u_longs, but this changes is just to prevent warnings about casts between pointers and integers of different sizes, not to fix poorly chosen types.
|
#
36482 |
|
31-May-1998 |
steve |
Several sources including Unix98 say that semctl's fourth parameter is optional except where: cmd == {IPC_SET || IPC_STAT || GETALL || SETVAL || SETALL}
PR: 2448 Reviewed by: bde Submitted by: Tim Singletary <tsingle@sunland.gsfc.nasa.gov> Minor tweaks by: steve
|
#
29179 |
|
07-Sep-1997 |
bde |
Some staticized variables were still declared to be extern.
|
#
22975 |
|
22-Feb-1997 |
peter |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
20639 |
|
18-Dec-1996 |
jkh |
Back out previous commit (and that's the last one I do on swallace's behalf - from now on he can do his own). I guess I didn't notice the code in the wrapper which turned the union semun arg into a pointer.
|
#
20638 |
|
18-Dec-1996 |
jkh |
Change prototype for semctl().
|
#
16322 |
|
12-Jun-1996 |
gpalmer |
Clean up -Wunused warnings.
Reviewed by: bde
|
#
13060 |
|
27-Dec-1995 |
joerg |
Call semexit() from exit(), in order to process `undo vectors'. This function has actually never been called.
|
#
10430 |
|
29-Aug-1995 |
bde |
Fix several sysinit functions that had the wrong type and unnecessarily external linkage.
|
#
9759 |
|
29-Jul-1995 |
bde |
Eliminate sloppy common-style declarations. There should be none left for the LINT configuation.
|
#
9444 |
|
08-Jul-1995 |
joerg |
Several constants have been missing in the SysV IPC header files that are recommended by the literature.
Fixes PR# misc/575: constants in sys/sem.h...
Submitted by: daveho@infocom.com (Dave Hovemeyer)
|
#
7430 |
|
28-Mar-1995 |
bde |
Add and move declarations to fix all of the warnings from `gcc -Wimplicit' (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
|
#
2836 |
|
17-Sep-1994 |
dg |
Got rid of compiler warnings.
|
#
2729 |
|
13-Sep-1994 |
dfr |
Added SYSV ipcs.
Obtained from: NetBSD and FreeBSD-1.1.5
|