|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
ac3ef06a |
| 02-Mar-2018 |
Brooks Davis <[email protected]> |
Don't define struct mymsg.
PR: 224299, 224443 (exp-run) Reviewed by: kib, jhb Exp-run by: antoine Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14491
|
| #
93e48a30 |
| 02-Mar-2018 |
Brooks Davis <[email protected]> |
Rename kernel-only members of semid_ds and msgid_ds.
This deliberately breaks the API in preperation for future syscall revisions which will remove these nonstandard members.
In an exp-run a single
Rename kernel-only members of semid_ds and msgid_ds.
This deliberately breaks the API in preperation for future syscall revisions which will remove these nonstandard members.
In an exp-run a single port (devel/qemu-user-static) was found to use them which it did becuase it emulates system calls. This has been fixed in the ports tree.
PR: 224443 (exp-run) Reviewed by: kib, jhb (previous version) Exp-run by: antoine Sponsored by: DARPA, AFRP Differential Revision: https://reviews.freebsd.org/D14490
show more ...
|
| #
27b95863 |
| 16-Feb-2018 |
Brooks Davis <[email protected]> |
Get rid of the requirement to include SysV IPC headers with _KERNEL defined in ipcrm by introducing _WANT_SYSVxxx_INTERNALS defines.
Reviewed by: jhb Sponsored by: DARPA, AFRL Differential Revision:
Get rid of the requirement to include SysV IPC headers with _KERNEL defined in ipcrm by introducing _WANT_SYSVxxx_INTERNALS defines.
Reviewed by: jhb Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14271
show more ...
|
| #
f849badf |
| 08-Feb-2018 |
Brooks Davis <[email protected]> |
style(9): use a type for each member in struct defintions.
Shorten a comment to fit in 80 columns.
|
| #
dff2e0e4 |
| 07-Feb-2018 |
Brooks Davis <[email protected]> |
Remove part of a comment reverting to nonexistant struct members.
|
| #
33d72c30 |
| 20-Dec-2017 |
Pedro F. Giffuni <[email protected]> |
Revert r327005 - SPDX tags for license similar to BSD-2-Clause.
After consultation with SPDX experts and their matching guidelines[1], the licensing doesn't exactly match the BSD-2-Clause. It yet re
Revert r327005 - SPDX tags for license similar to BSD-2-Clause.
After consultation with SPDX experts and their matching guidelines[1], the licensing doesn't exactly match the BSD-2-Clause. It yet remains to be determined if they are equivalent or if there is a recognized license that matches but it is safer to just revert the tags.
Let this also be a reminder that on FreeBSD, SPDX tags are only advisory and have no legal value (but IANAL).
Pointyhat to: pfg Thanks to: Rodney Grimes, Gary O'Neall
[1] https://spdx.org/spdx-license-list/matching-guidelines
show more ...
|
| #
d17aef79 |
| 19-Dec-2017 |
Pedro F. Giffuni <[email protected]> |
SPDX: These are fundamentally BSD-2-Clause.
They just omit the introductory line and numbering.
|
| #
9b10f59a |
| 13-Dec-2017 |
Pedro F. Giffuni <[email protected]> |
SPDX: mostly fixes to previous changes.
Introduce the recently approved BSD-1-Clause and replace 0BSD which never did fit well our use cases.
|
| #
8820ecc0 |
| 30-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
SPDX: Fix some cases wrongly attributed to MIT.
In the cases of BSD-style license variants without clauses, use 0BSD for the time being in lack of a better description.
|
| #
c4e20cad |
| 27-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
sys/sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error
sys/sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0 |
|
| #
d9c4cd2f |
| 28-Jul-2016 |
Ed Schouten <[email protected]> |
Change the return type of msgrcv() to ssize_t as required by POSIX.
It looks like the msgrcv() system call is already written in such a way that the size is internally computed as a size_t and writt
Change the return type of msgrcv() to ssize_t as required by POSIX.
It looks like the msgrcv() system call is already written in such a way that the size is internally computed as a size_t and written into all of td_retval[0]. This means that it is effectively already returning ssize_t. It's just that the userspace prototype doesn't match up.
show more ...
|
|
Revision tags: release/10.3.0, release/10.2.0 |
|
| #
bc81f737 |
| 30-Jul-2015 |
Craig Rodrigues <[email protected]> |
Get function prototypes for msg, shm, sem functions from header files.
Differential Revision: D2669
|
|
Revision tags: release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
| #
8caddd81 |
| 06-Apr-2011 |
Edward Tomasz Napierala <[email protected]> |
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: ker
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)
show more ...
|
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0 |
|
| #
b648d480 |
| 24-Jun-2009 |
John Baldwin <[email protected]> |
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 n
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]
show more ...
|
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
| #
60727d8b |
| 07-Jan-2005 |
Warner Losh <[email protected]> |
/* -> /*- for license, minor formatting changes
|
| #
21335a5e |
| 17-Nov-2004 |
Robert Watson <[email protected]> |
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. A
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
show more ...
|
| #
921d05b9 |
| 12-Nov-2004 |
Robert Watson <[email protected]> |
Second of several commits to allow kernel System V IPC data structures to be modified and extended without breaking the user space ABI:
Use _kernel variants on _ds structures for System V sempahores
Second of several commits to allow kernel System V IPC data structures to be modified and extended without breaking the user space ABI:
Use _kernel variants on _ds structures for System V sempahores, message queues, and shared memory. When interfacing with userspace, export only the _ds subsets of the _kernel data structures. A lot of search and replace.
Define the message structure in the _KERNEL portion of msg.h so that it can be used by other kernel consumers, but not exposed to user space.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research
show more ...
|
| #
b37d625c |
| 12-Nov-2004 |
Robert Watson <[email protected]> |
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 dat
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
show more ...
|
|
Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
| #
b17c9cfa |
| 26-Jan-2003 |
Alfred Perlstein <[email protected]> |
Add const qualifier to data argument for msgsnd.
PR: standards/45274 Submitted by: Craig Rodrigues <[email protected]>
|
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
| #
9d36cde4 |
| 29-Dec-2002 |
Mike Barcroft <[email protected]> |
o Fix ordering of typedefs. o Improve comment about namespace pollution. o Improve CPP style.
Submitted by: bde
|
| #
fd8f16a8 |
| 18-Dec-2002 |
Mike Barcroft <[email protected]> |
o Add new types: msgqnum_t and msglen_t. o Add typedefs for pid_t, time_t, size_t and ssize_t. o Hide struct mymsg and msgsys() in the standards case. o Add some comments about conformance bugs. o So
o Add new types: msgqnum_t and msglen_t. o Add typedefs for pid_t, time_t, size_t and ssize_t. o Hide struct mymsg and msgsys() in the standards case. o Add some comments about conformance bugs. o Sort prototypes.
show more ...
|
|
Revision tags: release/4.7.0_cvs |
|
| #
d5968c2a |
| 16-Aug-2002 |
Alfred Perlstein <[email protected]> |
fix comment typo: naem -> name
|
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
| #
789f12fe |
| 19-Mar-2002 |
Alfred Perlstein <[email protected]> |
Remove __P
|
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs, release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs |
|
| #
ab063af9 |
| 01-May-2000 |
Peter Wemm <[email protected]> |
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 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.
show more ...
|
|
Revision tags: release/4.0.0_cvs |
|
| #
664a31e4 |
| 29-Dec-1999 |
Peter Wemm <[email protected]> |
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 cons
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.
show more ...
|