Commit Graph

1371 Commits

Author SHA1 Message Date
dholland
c0a0e3174b Rewrite heavily. This was originally going to be just an improvement of
some wording related to the *at form... but it needed a general overhaul.

Add some missing errors for the *at form... plus EINVAL for the
traditional form for when you pass a bogus check mode.

Note that the AT_EACCESS flag is useless and strengthen the security
warning.
2013-01-12 19:19:24 +00:00
wiz
a8352d9716 Bump date. New sentence, new line. Wording/articles.
Sort errors while here.
2012-12-01 21:07:00 +00:00
wiz
df30358ee8 Bump date. New sentence, new line. Wording/articles.
Sort errors while here.
2012-12-01 21:00:18 +00:00
wiz
00c15860d1 Bump date, really. 2012-12-01 20:57:41 +00:00
wiz
1ef05d0df5 Bump date. New sentence, new line. Wording/articles.
Sort errors while here.
2012-12-01 20:53:10 +00:00
wiz
d4e1a73a59 Bump date. New sentence, new line. Wording/articles. 2012-12-01 20:51:29 +00:00
wiz
017d301f38 Bump date. New sentence, new line. Wording/articles.
While here, sort errors.
2012-12-01 20:50:19 +00:00
wiz
947bcf9e3f Bump date. New sentence, new line. Wording/articles. 2012-12-01 20:48:26 +00:00
wiz
dafc6bcd71 New sentence, new line. Add articles. 2012-12-01 20:46:54 +00:00
wiz
3e961cd531 Remove trailing whitespace. 2012-12-01 20:45:01 +00:00
christos
33b3ee33ee mention that kevent returns now EOPNOTSUPP. 2012-11-24 15:16:52 +00:00
manu
a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
wiz
443fa8fc45 NL -> . to improve output 2012-11-06 23:25:44 +00:00
uwe
3551775cc1 Mention sigevent(3) not only in DESCRIPTION but in SEE ALSO as well. 2012-11-06 21:16:21 +00:00
uwe
ffccaf97fd Fix another typo. 2012-11-06 15:26:37 +00:00
uwe
bce1bfa71d Fix typo. 2012-11-06 15:23:24 +00:00
wiz
c82468c671 Bump date for previous. Grammar fix. 2012-11-04 10:57:33 +00:00
christos
ff84366ca6 add utimens and lutimens wrappers using utimensat. 2012-11-03 19:39:21 +00:00
dholland
8b39f69929 typo 2012-10-14 08:49:28 +00:00
njoly
aa8d6d6d73 Function argument Fa macro expects its name on the same line. 2012-10-08 18:08:40 +00:00
christos
b856128072 add clock_nanosleep(2) 2012-10-02 01:46:40 +00:00
manu
bba80928a8 setcontext() used to be incompatible with -lpthread since it affected
the TLS pointer, therefore wrecking the pthread environement.

Some ports had _UC_TLSBASE flag or equivalent (_UC_UNIQUE on alpha)
that controlled whether setcontext() would change the TLS pointer.
This change let libpthread override setcontext() with its own version
that unsets _UC_TLSBASE, enabling safe usage of setcontext() with
-lpthread.

We also have the following required changes here:
- rename alpha's _UC_UNIQUE into _UC_TLSBASE
- add _UC_TLSBASE definition in header file for all ports
  (powerpc, sh3, sparc and sparc64 lack the implementation for now)
- introduce a libc stub that can be overriden for setcontext()
- modify MD libcs swapcontext() implementations so that they use the
  setcontext() libc stub instead of doing a plain system call.

While we are there:
- document various MD _UC_* flags in header file
- add libc and libpthread tests for swapcontext() behavior
  (hopefully helpful to spot MD problems introduced with this change)

Future work:
- Deciding whether kernel support or _UC_TLSBASE should be added for
  powerpc, sh3, sparc and sparc64 is left to portmasters
  sparc64

Approved by core@
2012-09-12 02:00:51 +00:00
jnemeth
942121f54c Add -A, -a, and -e options to modstat(8) along with kernel
changes required to support these options.  The -e option was
requested by martin@ in private chat in order to make writing tests
easier (i.e. don't bother testing MODULAR functionaility if it
doesn't exist).  While there, I added -A and -a since those were
quite similar.

     -A      Tells you whether or not modules can be autoloaded at the moment.
             This option does take into consideration the sysctl
             kern.module.autoload.

     -a      Tells you whether or not modules can be autoloaded at the moment.
             This option does not take into consideration the sysctl
             kern.module.autoload.

     -e      Tells you whether or not you may load a module at the moment.
2012-08-07 01:19:05 +00:00
jdf
156d32710f Add ENOTCONN to returned error codes, bump date.
Tip of asau.
2012-07-09 21:22:21 +00:00
abs
9e66e6d75e Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-25 22:32:43 +00:00
christos
3d365e7447 fix old style definitions; XXX: gcc should have picked them up but it did not. 2012-06-24 15:26:02 +00:00
dholland
069a188b26 "appeared in", not "appeared on". 2012-06-23 05:47:50 +00:00
wiz
2c4ba053cf Replace nonexistant Lx macro. Use full NetBSD version for Nx. 2012-06-22 22:54:26 +00:00
wiz
0355356981 Fix macro. Replace another one (there is no .Lx). Use full NetBSD version. 2012-06-22 22:54:09 +00:00
wiz
10258cb7fe Remove trailing whitespace. Sort errors. Bump date for previous. 2012-06-22 22:49:03 +00:00
wiz
efd86e84be Remove trailing whitespace. Use more markup. Bump date for previous. 2012-06-22 22:48:37 +00:00
christos
0826c9ae0a {send,recv}mmsg glue 2012-06-22 18:28:38 +00:00
christos
4b9b559fe8 describe RLIMIT_NTHR 2012-06-09 02:36:25 +00:00
martin
6c3cc552c2 Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.

To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.

Add an exhaustive atf test case, based partly on code from Joel Sing.

Should finally fix the remaining open part of PR kern/43903.
2012-05-21 14:15:16 +00:00
reinoud
e0760a5e85 Clarify description of the msgrcv() return value. I kept on misreading it for
some reason. This ought to clarify it a bit more.
2012-05-15 11:37:01 +00:00
roy
258cf0abec Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
wiz
2306ff07c8 Sort errors. 2012-04-13 16:32:15 +00:00
yamt
8cd2291e6a needs sys/lwpctl.h for constants 2012-04-13 15:14:58 +00:00
yamt
0df0c59ba6 - fix ambiguous sentences.
- mention scheduling class.
2012-04-13 15:14:27 +00:00
agc
6578e3b1a4 fix a couple of typos 2012-04-02 22:06:47 +00:00
matt
68e3ffa377 Convert to C89 prototypes. Remove use of __P 2012-03-20 16:26:12 +00:00
plunky
3d672173f2 pselect->paccept for this page 2012-03-19 09:34:36 +00:00
christos
59ba550f28 fail as the man page says sched_rr_get_interval should. 2012-03-18 02:04:39 +00:00
jruoho
0208cf2398 Use more markup. 2012-03-14 13:24:48 +00:00
christos
c5e820cae4 PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@
2012-03-13 21:13:30 +00:00
joerg
4acff4c01b Implement sem_timedwait. 2012-03-08 21:59:24 +00:00
wiz
87b2e48e9c Sort error descriptions. 2012-03-04 11:58:31 +00:00
dholland
e9f7fa95bf Clarify description of sticky bit, based on a 3-year-old suggestion by
Hubert Feyrer.
2012-03-04 00:07:44 +00:00
joerg
1d9862f144 Drop obsolete incompatibility note for interaction with libpthread. 2012-03-02 18:07:17 +00:00
matt
c18d70cbd8 Emit SA syscalls using SYS_compat_60_* 2012-02-19 19:18:40 +00:00