Home | History | Annotate | only in /src/lib/librt
History log of /src/lib/librt
RevisionDateAuthorComments
 1.21 13-Jun-2018  kamil Disable sanitizers for libm and librt

The sanitizers are designed to use pristine OS versions of these libraries,
install interceptors for public symbols in them and link with them in every
sanitized executable.

Having unmodified base libraries (c, m, rt, pthread) also makes the system
usable with programs linking with them and without sanitization, as there
are no fatal issues during the resolving of missing symbols.

The remaining libraries like libutil, libintl etc are prebuilt with
sanitization and all their users in the MKSANITIZER=yes distribution are
required to use the same sanitizer.

libc and libpthread are already marked with the NOSANITIZER flag.
 1.20 05-Aug-2016  christos branches: 1.20.12;
add missing stuff for the affinity calls (Rocky Hotas)
 1.19 05-Jul-2016  christos branches: 1.19.2;
man page for sched_protect (Charles Cui, GSoC 2016)
 1.18 19-Dec-2013  rmind Add a man page for shm_open(3) and shm_unlink(3). Obtained from FreeBSD,
with various modifications.
 1.17 19-Dec-2013  rmind Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.
They are implemented using tmpfs (mounted at /var/shm).

Discussed on tech-{kern,userlevel} (quite a while ago).
 1.16 21-Mar-2012  matt branches: 1.16.2;
These directories default to WARNS?=5
 1.15 08-Mar-2012  joerg Implement sem_timedwait.
 1.14 27-Oct-2011  christos branches: 1.14.2;
Add the same ppc64 hack that libposix needs.
 1.13 07-Jun-2010  jruoho Build links also for mq_timedreceive(3) and mq_timedsend(3).
 1.12 07-Jun-2010  jruoho Add mq(3), a manual page for the POSIX message queues. This tries to act as
a short introduction to the rationale and API, noting also some pros and cons.

rmind@: basically ok. Please feel free to adjust, correct, and extend.
 1.11 17-May-2010  jruoho Add an introductory manual page for the POSIX asynchronous I/O, aio(3).

This is hopefully enough for a reader to get started with the aio.

ok rmind@
 1.10 05-Jan-2009  rmind Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.9 26-Oct-2008  mrg branches: 1.9.2;
use libc/libcincludes.mk.
 1.8 02-Jul-2008  rmind Move scheduling functions from librt to libc.
Fixes PR/38657.
 1.7 10-Mar-2008  rmind branches: 1.7.4;
Add pset(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
 1.6 10-Mar-2008  rmind Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
 1.5 15-Jan-2008  rmind branches: 1.5.2;
Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
 1.4 17-Jun-2007  rmind branches: 1.4.4;
- Add aio_fsync(3) manual page. Reviewed and improved by <wiz>.
- Also, fix the accident duplicate of aio_suspend(3) entry.
 1.3 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.2 30-Apr-2007  rmind Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>
 1.1 24-Jan-2003  thorpej Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.4.4.1 23-Mar-2008  matt sync with HEAD
 1.5.2.1 24-Mar-2008  keiichi sync with head.
 1.7.4.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.9.2.1 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.14.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.14.2.1 17-Apr-2012  yamt sync with head
 1.16.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.2.1 06-Aug-2016  pgoyette Sync with HEAD
 1.20.12.1 25-Jun-2018  pgoyette Sync with HEAD
 1.1 03-Apr-2013  agc branches: 1.1.2;
file Version.map was initially added on branch agc-symver.
 1.1.2.1 03-Apr-2013  agc Add symbol versioning information for the following libraries:

libbluetooth
libbsdmalloc
libexecinfo
libform
libintl
libipsec
libkvm
liblwres
libnpf
libp2k
libpci
libperfuse
libppath
libprop
libpuffs
librefuse
librpcsvc
librt
librumpclient
librumphijack
librumpuser
libukfs
libusbhid
libwrap
 1.5 19-May-2010  jruoho Remove the paragraph about the used notification mechanism. Instead,
reference sigevent(3). Clarify the file offset discussion.
 1.4 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.3 17-May-2010  jruoho Fix a typo of a typo, and use .Sq in couple of places.
 1.2 17-May-2010  jruoho Writing, rereading, writing, reareading, and yet still one typo.
 1.1 17-May-2010  jruoho Add an introductory manual page for the POSIX asynchronous I/O, aio(3).

This is hopefully enough for a reader to get started with the aio.

ok rmind@
 1.5 15-Sep-2010  yamt remove RESTRICTIONS section, which seems unrelated to our implementation
 1.4 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.3 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.2 05-May-2007  ad Remove pointless AUTHORS sections.
 1.1 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.4 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.3 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.2 05-May-2007  ad Remove pointless AUTHORS sections.
 1.1 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.8 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.7 15-Sep-2010  yamt remove RESTRICTIONS section, which seems unrelated to our implementation
 1.6 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.5 13-May-2009  wiz Merge two descriptions for same error code.
 1.4 10-Mar-2009  joerg Fix markup.
 1.3 30-Apr-2008  martin branches: 1.3.8;
Convert TNF licenses to new 2 clause variant
 1.2 07-Aug-2007  wiz branches: 1.2.8;
Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.1 17-Jun-2007  rmind - Add aio_fsync(3) manual page. Reviewed and improved by <wiz>.
- Also, fix the accident duplicate of aio_suspend(3) entry.
 1.2.8.1 18-May-2008  yamt sync with head.
 1.3.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 04-Dec-2022  uwe Sections 2 and 3 have RETURN VALUES, not DIAGNOSTICS
 1.5 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.4 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.3 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.2 05-May-2007  ad Remove pointless AUTHORS sections.
 1.1 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.5 13-Aug-2011  jmcneill aio_return returns ssize_t not int
 1.4 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.3 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.2 05-May-2007  ad Remove pointless AUTHORS sections.
 1.1 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.5 06-Jan-2011  njoly Fix macro (DV -> Dv).
 1.4 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.3 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.2 05-May-2007  ad Remove pointless AUTHORS sections.
 1.1 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.5 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.4 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.3 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.2 05-May-2007  ad Remove pointless AUTHORS sections.
 1.1 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.5 12-Aug-2011  wiz Merge two entries for same error code.
 1.4 12-Aug-2011  apb Add sigevent(3) to SEE ALSO
 1.3 17-May-2010  jruoho Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
 1.2 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.1 04-May-2007  rmind Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
 1.5 26-Feb-2011  wiz Remove duplicate "the". From Henning Petersen in PR 44640.
 1.4 28-Jul-2010  jruoho branches: 1.4.2;
Get rid of SYSCTL_SETUP.

We want the sysctl variables also when mqueue(3) is loaded as a module.
 1.3 07-Jun-2010  wiz Grammar and spacing fixes.
 1.2 07-Jun-2010  jruoho Remove some leftover .\" comments.

The sysctl variables will be described in sysctl(7).
 1.1 07-Jun-2010  jruoho Add mq(3), a manual page for the POSIX message queues. This tries to act as
a short introduction to the rationale and API, noting also some pros and cons.

rmind@: basically ok. Please feel free to adjust, correct, and extend.
 1.4.2.1 05-Mar-2011  bouyer Sync with HEAD
 1.3 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.2 07-Jun-2010  jruoho branches: 1.2.6;
Mostly refer to the main page, mq(3), in SEE ALSO.
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_close.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.2.6.1 17-Apr-2012  yamt sync with head
 1.3 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.2 07-Jun-2010  jruoho branches: 1.2.6;
Mostly refer to the main page, mq(3), in SEE ALSO.
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_getattr.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.2.6.1 17-Apr-2012  yamt sync with head
 1.3 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.2 07-Jun-2010  jruoho branches: 1.2.6;
Mostly refer to the main page, mq(3), in SEE ALSO.
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_notify.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.2.6.1 17-Apr-2012  yamt sync with head
 1.6 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.5 07-Jun-2010  jruoho branches: 1.5.6;
Mostly refer to the main page, mq(3), in SEE ALSO.
 1.4 14-May-2010  wiz Fix spaco.
 1.3 14-May-2010  joerg Provide a sane argument for -width.
 1.2 06-May-2010  jruoho Use standard section headers, as documented in mdoc.samples(7).
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_open.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.5.6.1 17-Apr-2012  yamt sync with head
 1.6 19-Nov-2015  wiz Bump date for previous.
 1.5 18-Nov-2015  pgoyette Update RETURN VALUE to match reality and POSIX
 1.4 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.3 07-Jun-2010  jruoho branches: 1.3.6;
Mostly refer to the main page, mq(3), in SEE ALSO.
 1.2 22-Mar-2010  joerg Use .In instead of .Aq Pa and variantes for header files.
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_receive.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.3.6.1 17-Apr-2012  yamt sync with head
 1.4 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.3 07-Jun-2010  jruoho branches: 1.3.6;
Mostly refer to the main page, mq(3), in SEE ALSO.
 1.2 22-Mar-2010  joerg Use .In instead of .Aq Pa and variantes for header files.
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_send.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.3.6.1 17-Apr-2012  yamt sync with head
 1.3 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.2 07-Jun-2010  jruoho branches: 1.2.6;
Mostly refer to the main page, mq(3), in SEE ALSO.
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_setattr.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.2.6.1 17-Apr-2012  yamt sync with head
 1.4 15-Mar-2012  njoly Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.3 07-Jun-2010  wiz branches: 1.3.6;
Fix xref.
 1.2 07-Jun-2010  jruoho Mostly refer to the main page, mq(3), in SEE ALSO.
 1.1 05-Jan-2009  rmind branches: 1.1.2;
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.2 16-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #249):
distrib/sets/lists/comp/mi: revision 1.1224
lib/librt/Makefile: revision 1.10
lib/librt/mq_close.3: revision 1.1
lib/librt/mq_getattr.3: revision 1.1
lib/librt/mq_notify.3: revision 1.1
lib/librt/mq_open.3: revision 1.1
lib/librt/mq_receive.3: revision 1.1
lib/librt/mq_send.3: revision 1.1
lib/librt/mq_setattr.3: revision 1.1
lib/librt/mq_unlink.3: revision 1.1
Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
 1.1.2.1 05-Jan-2009  snj file mq_unlink.3 was added on branch netbsd-5 on 2009-01-16 01:12:31 +0000
 1.3.6.1 17-Apr-2012  yamt sync with head
 1.15 21-Feb-2025  wiz Add LIBRARY section and explicitly mention that these interfaces
require super-user privileges.
 1.14 31-May-2022  andvar branches: 1.14.4;
fix various typos in comments, documentation and messages.
 1.13 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.12 06-May-2010  jruoho Use standard section headers, as documented in mdoc.samples(7).
 1.11 06-May-2010  jruoho Markup: .Ss -> .Sh, .Fa -> .Fn, offset indent, and use lists in two places
for clarity.
 1.10 29-Jan-2009  rmind Small fix, "processes" mistaken with "processors".
 1.9 28-Jan-2009  dyoung Try to clarify what pset(3) actually does. This needs some more
work.
 1.8 20-Jan-2009  rmind - Make thread-affinity and processor-set interfaces mutually exlusive.
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
 1.7 18-Oct-2008  rmind branches: 1.7.2;
Do not recommend to mix affinity(3) with pset(3).
 1.6 22-Jun-2008  wiz Make HTML-ready. Bump date for previous.
 1.5 16-Jun-2008  rmind pset(3): add code example, note about thread affinity.
sched(3): mention affinity(3) and cpuset(3).
 1.4 05-May-2008  ad branches: 1.4.2;
BUGS section no longer applies.
 1.3 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.2 11-Mar-2008  rmind branches: 1.2.2; 1.2.4; 1.2.6;
Add "This API is expected to be compatible with the APIs found in Solaris and
HP-UX operating systems" into the STANDARDS section, as discussed with <wiz>.
 1.1 10-Mar-2008  rmind Add pset(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
 1.2.6.2 17-Jun-2008  yamt sync with head.
 1.2.6.1 18-May-2008  yamt sync with head.
 1.2.4.2 24-Mar-2008  keiichi sync with head.
 1.2.4.1 11-Mar-2008  keiichi file pset.3 was added on branch keiichi-mipv6 on 2008-03-24 07:14:46 +0000
 1.2.2.2 23-Mar-2008  matt sync with HEAD
 1.2.2.1 11-Mar-2008  matt file pset.3 was added on branch matt-armv6 on 2008-03-23 00:40:29 +0000
 1.4.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.2.3 02-Feb-2009  snj Pull up following revision(s) (requested by rmind in ticket #373):
lib/librt/pset.3: revision 1.10
Small fix, "processes" mistaken with "processors".
 1.7.2.2 02-Feb-2009  snj Pull up following revision(s) (requested by rmind in ticket #373):
lib/librt/pset.3: revision 1.9
Try to clarify what pset(3) actually does. This needs some more
work.
 1.7.2.1 22-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #291):
lib/libpthread/affinity.3: revision 1.4
lib/librt/pset.3: revision 1.8
sys/kern/sys_pset.c: revision 1.10
sys/kern/sys_sched.c: revision 1.32
- Make thread-affinity and processor-set interfaces mutually exlusive.
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
 1.14.4.1 02-Aug-2025  perseant Sync with HEAD
 1.1 02-Jul-2008  rmind branches: 1.1.2;
Move scheduling functions from librt to libc.
Fixes PR/38657.
 1.1.2.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.2.1 02-Jul-2008  wrstuden file pset.c was added on branch wrstuden-revivesa on 2008-09-18 04:39:24 +0000
 1.2 22-Nov-2024  riastradh librt: Nix expected symbols for now.

Need to find why the symbol __rt_cerror is apparently
machine-dependent.

PR lib/58846: librt exports __rt_cerror on some architectures but not
others

PR lib/58838: shared libraries in base should all have expsym lists
 1.1 21-Nov-2024  riastradh librt: Add expected symbols list.

NOTE: Not sure about some of these internal-looking names like
_librt_sem_open or _pset_bind, intentional?

PR lib/58838: shared libraries in base should all have expsym lists
 1.18 15-Sep-2016  njoly Fix function name macro.
 1.17 05-Aug-2016  christos add missing stuff for the affinity calls (Rocky Hotas)
 1.16 05-Aug-2016  wiz Remove trailing whitespace.
 1.15 04-Aug-2016  christos Flesh out sched_protect
 1.14 06-Jul-2016  wiz branches: 1.14.2;
Markup improvements.
 1.13 05-Jul-2016  christos man page for sched_protect (Charles Cui, GSoC 2016)
 1.12 20-Feb-2016  riastradh Note that SCHED_OTHER must have priority PRI_NONE.
 1.11 04-Dec-2011  jym Improvements in secmodel(9). Document secmodel_register(9), _deregister(9)
and _eval(9).

Add secmodel_extensions(9), and indicate the new sysctl(7) to let
ordinary users control the CPU affinity (user_set_cpu_affinity).
 1.10 25-Apr-2011  wiz branches: 1.10.4;
Sort sections.
 1.9 06-May-2010  jruoho Use standard section headers, as documented in mdoc.samples(7).
 1.8 01-Nov-2008  wiz Add missing word.
 1.7 31-Oct-2008  snj Tweak some wording.
 1.6 31-Oct-2008  rmind Sync the man page with recent addition of few wrappers.
 1.5 22-Jun-2008  wiz branches: 1.5.4;
Bump date for previous.
 1.4 16-Jun-2008  rmind pset(3): add code example, note about thread affinity.
sched(3): mention affinity(3) and cpuset(3).
 1.3 24-May-2008  ad These work with SCHED_4BSD now.
 1.2 30-Apr-2008  martin branches: 1.2.2;
Convert TNF licenses to new 2 clause variant
 1.1 10-Mar-2008  rmind branches: 1.1.2; 1.1.4; 1.1.6;
Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
 1.1.6.3 17-Jun-2008  yamt sync with head.
 1.1.6.2 04-Jun-2008  yamt sync with head
 1.1.6.1 18-May-2008  yamt sync with head.
 1.1.4.2 24-Mar-2008  keiichi sync with head.
 1.1.4.1 10-Mar-2008  keiichi file sched.3 was added on branch keiichi-mipv6 on 2008-03-24 07:14:46 +0000
 1.1.2.2 23-Mar-2008  matt sync with HEAD
 1.1.2.1 10-Mar-2008  matt file sched.3 was added on branch matt-armv6 on 2008-03-23 00:40:29 +0000
 1.2.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.5.4.1 12-Nov-2008  snj Pull up following revision(s) (requested by rmind in ticket #47):
lib/librt/sched.3: revision 1.6
Sync the man page with recent addition of few wrappers.
 1.10.4.1 17-Apr-2012  yamt sync with head
 1.14.2.2 04-Nov-2016  pgoyette Sync with HEAD
 1.14.2.1 06-Aug-2016  pgoyette Sync with HEAD
 1.4 02-Jul-2008  rmind Move scheduling functions from librt to libc.
Fixes PR/38657.
 1.3 09-Feb-2008  yamt branches: 1.3.4; 1.3.8;
update for _sched_{get,set}param changes. from rmind@.
 1.2 26-Jan-2008  rmind sched_setparam: fix the case when incorrect (according to the class)
in-kernel priority is used. Reported by <drochner>.

Minor fixes for scheduling calls to conform the POSIX:
- If pid is equal to zero, use the calling process;
- In case of permission problem, return EPERM instead of EACESS;
- sched_setscheduler() should return previously used policy;
- pthread_* calls should return the error code or zero;

Should fix the namespace problems (and builds of some packages):
- Move cpuset_t defintion from pset.h to sched.h;
- Remove the #include of pset.h in pthread.h;
 1.1 15-Jan-2008  rmind Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
 1.3.8.1 07-Sep-2008  wrstuden Delete a bunch of things that are now gone in head.
 1.3.4.2 23-Mar-2008  matt sync with HEAD
 1.3.4.1 09-Feb-2008  matt file sched.c was added on branch matt-armv6 on 2008-03-23 00:40:29 +0000
 1.9 21-Feb-2019  christos - KNF return
- be careful with errno, only set it when it is possibly set and not before
a system call.
- factor out a common mask comparison.
 1.8 03-Feb-2019  thorpej Implement support for "pshared" POSIX semaphores.

Fixes lib/53273 (and Firefox's multi-process tab feature).
 1.7 10-Mar-2012  joerg branches: 1.7.32;
Keep in sync with libpthread: Fix error handling.
 1.6 08-Mar-2012  joerg Implement sem_timedwait.
 1.5 14-Nov-2008  ad branches: 1.5.8;
Replace semid_t with intptr_t. No function change. This is a libc/kernel
private interface and so the name change should not affect any third
party code.
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 07-Dec-2003  simonb branches: 1.3.30;
Check for __weak_alias macro before using it.
 1.2 09-Mar-2003  lukem use __RCSID()
 1.1 24-Jan-2003  thorpej Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.3.30.1 18-May-2008  yamt sync with head.
 1.5.8.1 17-Apr-2012  yamt sync with head
 1.7.32.1 10-Jun-2019  christos Sync with HEAD
 1.2 07-Aug-2007  wiz Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
 1.1 24-Jan-2003  thorpej Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.4 08-Mar-2012  wiz Add missing comma.
 1.3 08-Mar-2012  joerg Implement sem_timedwait.
 1.2 21-Mar-2005  kleink branches: 1.2.42;
Add restrict qualifiers to function arguments (already in <semaphore.h>).
 1.1 24-Jan-2003  thorpej branches: 1.1.6;
Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.1.6.1 21-Mar-2005  tron Pull up revision 1.2 (requested by kleink in ticket #42):
Add restrict qualifiers to function arguments (already in <semaphore.h>).
 1.2.42.1 17-Apr-2012  yamt sync with head
 1.5 21-Feb-2019  christos Mention that ENOSPC can be returned if we exhausted the max number of
semaphores.
 1.4 07-Jul-2012  joerg branches: 1.4.32;
One more reference to unimplemented shared semaphores.
 1.3 07-Jul-2012  joerg Shared semaphores have been supported since the initial version, so drop
obsolete restriction.
 1.2 08-Mar-2012  joerg Implement sem_timedwait.
 1.1 24-Jan-2003  thorpej branches: 1.1.54;
Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.1.54.2 30-Oct-2012  yamt sync with head
 1.1.54.1 17-Apr-2012  yamt sync with head
 1.4.32.1 10-Jun-2019  christos Sync with HEAD
 1.8 05-May-2018  wiz file system police; remove trailing whitespace; merge two error sections
for same error.
 1.7 04-May-2018  christos It is not a bug that we are only allowing /name. Update for newly allowed
length.
 1.6 08-Mar-2012  wiz branches: 1.6.30;
Merge error descriptions for same error code.
 1.5 08-Mar-2012  joerg Implement sem_timedwait.
 1.4 16-May-2005  peter branches: 1.4.42;
This function is in librt, not libc.
 1.3 29-Jan-2005  wiz branches: 1.3.2;
Add "not" to a sentence so that it makes more sense.
 1.2 22-Jan-2005  briggs Bring in sem_open (& sem_close & sem_unlink) man page from FreeBSD.
These functions are actually implemented, but the old man page said that
they simply returned with errors--it was apparently out of date at the
time of import.
 1.1 24-Jan-2003  thorpej branches: 1.1.4;
Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.1.4.2 18-May-2005  riz Pull up revisions 1.3-1.4 (requested by peter in ticket #1528):
1.3:
Add "not" to a sentence so that it makes more sense.

1.4:
This function is in librt, not libc.
 1.1.4.1 16-Apr-2005  tron Pull up revision 1.2 (requested by briggs in ticket #1114):
Bring in sem_open (& sem_close & sem_unlink) man page from FreeBSD.
These functions are actually implemented, but the old man page said that
they simply returned with errors--it was apparently out of date at the
time of import.
 1.3.2.1 27-May-2005  riz Pull up revision 1.4 (requested by peter in ticket #317):
This function is in librt, not libc.
 1.4.42.1 17-Apr-2012  yamt sync with head
 1.6.30.1 21-May-2018  pgoyette Sync with HEAD
 1.3 08-Mar-2012  wiz Whitespace nits.
 1.2 08-Mar-2012  joerg Implement sem_timedwait.
 1.1 24-Jan-2003  thorpej branches: 1.1.54;
Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.1.54.1 17-Apr-2012  yamt sync with head
 1.3 08-Mar-2012  wiz Add sem_timedwait to NAME and fix SYNOPSIS. Add serial comma.
 1.2 08-Mar-2012  joerg Implement sem_timedwait.
 1.1 24-Jan-2003  thorpej branches: 1.1.54;
Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.1.54.1 17-Apr-2012  yamt sync with head
 1.3 08-Mar-2012  joerg Implement sem_timedwait.
 1.2 11-Jan-2009  christos branches: 1.2.8;
bump shared libraries.
 1.1 24-Jan-2003  thorpej Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc. Currently includes 1003.1b semaphores.
 1.2.8.1 17-Apr-2012  yamt sync with head
 1.3 08-Jul-2015  martin Simplify previous by just doing an open() on the directory and then using
the fstat* family to test for all relevant details.
Clean up buffer sizes and clarify a length check. Based on input from dholland.
 1.2 30-Jun-2015  martin Allow /var/shm to be a symlink to a properly set up directory.
 1.1 19-Dec-2013  rmind branches: 1.1.4; 1.1.6; 1.1.8;
Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.
They are implemented using tmpfs (mounted at /var/shm).

Discussed on tech-{kern,userlevel} (quite a while ago).
 1.1.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 19-Dec-2013  tls file shm.c was added on branch tls-maxphys on 2014-08-20 00:02:20 +0000
 1.1.6.1 22-Mar-2016  snj Pull up following revision(s) (requested by martin in ticket #1144):
lib/librt/shm.c: revisions 1.2, 1.3
Allow /var/shm to be a symlink to a properly set up directory.
--
Simplify previous by just doing an open() on the directory and then using
the fstat* family to test for all relevant details.
Clean up buffer sizes and clarify a length check. Based on input from dholland.
 1.1.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.1 19-Dec-2013  yamt file shm.c was added on branch yamt-pagecache on 2014-05-22 11:36:59 +0000
 1.2 20-Dec-2013  wiz branches: 1.2.4; 1.2.8;
Sort errors.
 1.1 19-Dec-2013  rmind Add a man page for shm_open(3) and shm_unlink(3). Obtained from FreeBSD,
with various modifications.
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 20-Dec-2013  tls file shm_open.3 was added on branch tls-maxphys on 2014-08-20 00:02:20 +0000
 1.2.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.4.1 20-Dec-2013  yamt file shm_open.3 was added on branch yamt-pagecache on 2014-05-22 11:36:59 +0000
 1.9 18-Jan-2011  matt Use PRINTOBJDIR to get the object directory of libc and use that with -I.
 1.8 17-Jan-2011  matt Add -D_REENTRANT
 1.7 16-Jan-2011  matt For cerror, allow -I../libc to allow inclusion of any assym.h, if up.
 1.6 14-Jan-2011  matt Let libposix and librt have their own version of __cerror (__posix_cerror and
__rt_cerror). This enables each library (including libc) the oppurtunity to
make its __cerror hidden and avoid being called via the PLT. No user visible
differences to no need to bump the minor number.
 1.5 15-Jan-2008  rmind Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
 1.4 09-Oct-2007  rmind Add cancellation stubs in libpthread for POSIX messages queues and
asynchronous I/O.

OK by <ad>.
 1.3 07-Sep-2007  rmind Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>
 1.2 31-May-2007  rmind branches: 1.2.4;
We should clean the ${ASM} files, not a ${PSEUDO}, which is really "pseudo" ;)
Pointed out by <veego>.
 1.1 30-Apr-2007  rmind Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>
 1.2.4.2 23-Mar-2008  matt sync with HEAD
 1.2.4.1 06-Nov-2007  matt sync with HEAD

RSS XML Feed