Commit Graph

103 Commits

Author SHA1 Message Date
christos 2252cc8ccc Mention that ENOSPC can be returned if we exhausted the max number of
semaphores.
2019-02-21 21:54:09 +00:00
christos 3ecfeb8539 - 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.
2019-02-21 21:33:34 +00:00
thorpej 68e270a267 Implement support for "pshared" POSIX semaphores.
Fixes lib/53273 (and Firefox's multi-process tab feature).
2019-02-03 03:20:23 +00:00
kamil 0d6563db8b 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.
2018-06-13 08:19:36 +00:00
wiz 6237a79478 file system police; remove trailing whitespace; merge two error sections
for same error.
2018-05-05 06:39:10 +00:00
christos 9308b34941 It is not a bug that we are only allowing /name. Update for newly allowed
length.
2018-05-04 20:28:51 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
njoly 9018f13e85 Fix function name macro. 2016-09-15 07:53:59 +00:00
christos f87fbe2f55 add missing stuff for the affinity calls (Rocky Hotas) 2016-08-05 13:03:13 +00:00
wiz 07114cee33 Remove trailing whitespace. 2016-08-05 08:55:28 +00:00
christos 68df3d57d2 Flesh out sched_protect 2016-08-04 07:09:15 +00:00
wiz ed940b32ac Markup improvements. 2016-07-06 15:55:02 +00:00
christos 1f9c8df1d3 man page for sched_protect (Charles Cui, GSoC 2016) 2016-07-05 21:13:12 +00:00
riastradh 301aaf756f Note that SCHED_OTHER must have priority PRI_NONE. 2016-02-20 16:00:10 +00:00
wiz 09534ff4a3 Bump date for previous. 2015-11-19 07:03:13 +00:00
pgoyette 9d449a8fd8 Update RETURN VALUE to match reality and POSIX 2015-11-18 13:19:52 +00:00
martin 44f72a641f 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.
2015-07-08 07:14:38 +00:00
martin 17ea7bcab8 Allow /var/shm to be a symlink to a properly set up directory. 2015-06-30 11:46:47 +00:00
wiz f61d31bbaf Sort errors. 2013-12-20 13:48:45 +00:00
rmind 0ec95f7a47 Add a man page for shm_open(3) and shm_unlink(3). Obtained from FreeBSD,
with various modifications.
2013-12-19 19:40:08 +00:00
rmind 4aae4db7db 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).
2013-12-19 19:11:50 +00:00
joerg 39c83c81bb One more reference to unimplemented shared semaphores. 2012-07-07 01:39:59 +00:00
joerg cf1cc428c9 Shared semaphores have been supported since the initial version, so drop
obsolete restriction.
2012-07-07 01:37:12 +00:00
matt fa835e8c8b These directories default to WARNS?=5 2012-03-21 05:37:42 +00:00
njoly a973b36486 Use Lk macro when dealing with URLs. Another part of PR/29238. 2012-03-15 19:04:46 +00:00
joerg 654395b265 Keep in sync with libpthread: Fix error handling. 2012-03-10 19:59:21 +00:00
wiz 9c18a264d9 Add sem_timedwait to NAME and fix SYNOPSIS. Add serial comma. 2012-03-08 22:13:32 +00:00
wiz 6e8389e3bc Whitespace nits. 2012-03-08 22:13:05 +00:00
wiz 5f354a83a5 Merge error descriptions for same error code. 2012-03-08 22:12:52 +00:00
wiz c744abbb43 Add missing comma. 2012-03-08 22:12:37 +00:00
joerg 4acff4c01b Implement sem_timedwait. 2012-03-08 21:59:24 +00:00
jym f3effc5ec2 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).
2011-12-04 21:08:37 +00:00
christos 5cb3c90e9a Add the same ppc64 hack that libposix needs. 2011-10-27 18:45:44 +00:00
jmcneill 86658a2f92 aio_return returns ssize_t not int 2011-08-13 11:10:31 +00:00
wiz 81683017b5 Merge two entries for same error code. 2011-08-12 23:40:43 +00:00
apb ae48e7a592 Add sigevent(3) to SEE ALSO 2011-08-12 21:18:51 +00:00
wiz 8973a7a700 Sort sections. 2011-04-25 23:14:33 +00:00
wiz 35124272d3 Remove duplicate "the". From Henning Petersen in PR 44640. 2011-02-26 12:56:35 +00:00
matt 2f86908fcf Use PRINTOBJDIR to get the object directory of libc and use that with -I. 2011-01-18 16:41:51 +00:00
matt cbf89944a0 Add -D_REENTRANT 2011-01-17 09:43:56 +00:00
matt 2dd1b647a7 For cerror, allow -I../libc to allow inclusion of any assym.h, if up. 2011-01-16 03:29:36 +00:00
matt 314296c406 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.
2011-01-14 05:19:59 +00:00
njoly 416b82e2e3 Fix macro (DV -> Dv). 2011-01-06 15:22:20 +00:00
yamt f15acd14df remove RESTRICTIONS section, which seems unrelated to our implementation 2010-09-15 07:28:46 +00:00
jruoho c28dcae1e0 Get rid of SYSCTL_SETUP.
We want the sysctl variables also when mqueue(3) is loaded as a module.
2010-07-28 20:49:12 +00:00
wiz e54f45dc8a Fix xref. 2010-06-07 16:37:07 +00:00
wiz e02d784273 Grammar and spacing fixes. 2010-06-07 16:33:45 +00:00
jruoho 35bff1e486 Remove some leftover .\" comments.
The sysctl variables will be described in sysctl(7).
2010-06-07 07:39:43 +00:00
jruoho 9921e5b526 Build links also for mq_timedreceive(3) and mq_timedsend(3). 2010-06-07 07:26:20 +00:00
jruoho 00b42ad814 Mostly refer to the main page, mq(3), in SEE ALSO. 2010-06-07 07:21:52 +00:00