Commit Graph

1338 Commits

Author SHA1 Message Date
wiz
941368522d Sort sections. Remove trailing whitespace. Sort errors.
New sentence, new line.
2011-08-08 19:50:17 +00:00
manu
9db30be448 First stage of support for Extended API set 2. Most of the think is
unimplemented, except enough of linkat(2) to hardlink to a symlink.

Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since
some software (e.g.: xcvs in our own tree) will assume they can use openat(2)
when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support
will be completed.
2011-08-08 12:08:52 +00:00
jruoho
e2ab801e81 Xref chflags(2) and stat_flags(3) with each other. 2011-08-06 11:28:24 +00:00
wiz
ebddce5561 Bump date for previous. Remove trailing whitespace.
Sort error descriptions.
2011-08-03 09:48:12 +00:00
manu
32c00d6291 Make cp -p and mv preverve extended attributes, and complain if they cannot.
Also introduce library functions for copying extended attributes from one
file to another:
- extattr_copy_file, extattr_copy_fd, extattr_copy_link, with FreeBSD style,
  where a namespace is to be supplied
- cpxattr, fcpxattr, lcpxattr, with Linux style, where all namespaces
  accessible to the caller are copied, and the others are silently ignored.
2011-08-03 04:11:15 +00:00
wiz
0101512687 Consistently mark up defined values with Dv. 2011-07-22 11:02:39 +00:00
njoly
bec33204fe Remove unneeded `Either' word in EFAULT error description. 2011-07-20 17:51:25 +00:00
jruoho
5941dd2312 Note that dup2(2) and dup3(2) may not fail with EMFILE; from PR lib/45148. 2011-07-16 14:33:33 +00:00
christos
534ca6a0dd mention EINVAL. 2011-07-15 14:59:33 +00:00
jruoho
7f1ed5f987 Small markup edit. 2011-07-15 09:44:14 +00:00
jruoho
872b41c159 Small markup glitch. 2011-07-15 08:17:36 +00:00
wiz
cbbf7c09a0 Sort error descriptions. 2011-07-08 19:25:51 +00:00
jruoho
b825528b07 But use .Xr (and not .Fn) with references to external functions. 2011-07-03 20:36:34 +00:00
jruoho
f688e4951f Use .Fn (and not .Nm) for functions. 2011-07-03 20:34:52 +00:00
jruoho
cac6cf8528 Note that mknod(2) may fail with EINVAL. 2011-07-03 14:11:43 +00:00
manu
4033ef79a2 Fix multiple non compliances in our Linux-like extattr API, and make it
public so that it can be used.
2011-06-27 16:39:43 +00:00
wiz
846092f009 Various minor improvements. 2011-06-27 08:21:07 +00:00
christos
e2bebf7172 * Arrange for interfaces that create new file descriptors to be able to
set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).

    - Add F_DUPFD_CLOEXEC to fcntl(2).
    - Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
    - Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
      for socket(2) and socketpair(2).
    - Add new paccept(2) syscall that takes an additional sigset_t to alter
      the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
      SOCK_NONBLOCK.
    - Add new mode character 'e' to fopen(3) and popen(3) to open pipes
      and file descriptors for close on exec.
    - Add new kqueue1(2) syscall with a new flags argument to open the
      kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.

* Fix the system calls that take socklen_t arguments to actually do so.

* Don't include userland header files (signal.h) from system header files
  (rump_syscallargs.h).

* Bump libc version for the new syscalls.
2011-06-26 16:42:39 +00:00
wiz
a7a30c8237 Fix wording (if I understand the sentence correctly). 2011-06-17 18:12:32 +00:00
wiz
e2be1556fd New sentence, new line. Bump date for previous. 2011-06-17 18:08:53 +00:00
manu
448e1c49b2 Add mount -o extattr option to enable extended attributs (corrently only
for UFS1).
Remove kernel option for EA backing store autocreation and do it by
default. Add a sysctl so that autocreated attriutr size can be modified.
2011-06-17 14:23:50 +00:00
wiz
d5982f0fd8 Sort errors. 2011-06-03 08:07:48 +00:00
jruoho
7a7aafd699 Note STANDARDS and use more markup. 2011-06-03 05:50:07 +00:00
yamt
63b82de8a6 compatibility note 2011-06-02 01:04:18 +00:00
ryo
52e6dde2a6 fix incorrect variable name 2011-05-24 02:31:11 +00:00
jruoho
a192422bb6 Note also that the interaction between setitimer(2) and alarm(3) or sleep(3)
is unspecified.
2011-05-02 17:14:20 +00:00
jruoho
04b57bd832 Remove NOTES as it is documented in itimerval(3). Remove #ifdefs from
SYNOPSIS (these are visible enough in the body of the text). Use a list for
the timers. Improve wording and markup.
2011-05-02 17:01:52 +00:00
wiz
29e0fd69e9 Sort sections. 2011-04-28 12:00:55 +00:00
wiz
3652074286 Sort ERRORS. 2011-04-28 11:58:50 +00:00
christos
57ddf70a57 sync with reality (prototype of open is varyadic) 2011-04-20 19:57:58 +00:00
wiz
a4af43db58 exec is on a higher plane of existence. 2011-04-11 00:21:45 +00:00
christos
a87c855671 Document O_CLOEXEC. 2011-04-10 15:46:15 +00:00
jruoho
cbe6dc2e1c Use .Fn for functions. 2011-04-04 08:00:53 +00:00
jruoho
dc9fc4f125 .Xr uvm_map_protect, not .Fn. 2011-04-03 06:54:30 +00:00
jruoho
f364f2ef05 Offset indent. 2011-04-03 06:05:21 +00:00
jruoho
132da5fb56 Offset indent. 2011-03-31 07:52:34 +00:00
jruoho
cb0f983e60 Improve -width. 2011-03-29 18:54:54 +00:00
njoly
82815469fb Add quotes for multi-words width string. 2011-03-25 17:15:26 +00:00
wiz
9ef313636b Various fixes:
Remove trailing whitespace.
Sort sections.
Sort errors.
Fix typos.
Use more markup.
Probably something else I forgot.
2011-03-06 17:19:25 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
wiz
9e76b48586 Merge EINVAL descriptions; sort errors alphabetically; bump date. 2011-02-28 07:17:02 +00:00
dholland
4669b00fb3 Improve discussion of alignment and rounding per PR 33527. 2011-02-28 04:03:00 +00:00
pooka
aa7f369f19 v-node -> vnode
(for consistency)
2011-02-21 07:11:11 +00:00
christos
880fe46bea remove clauses 3/4 2011-01-10 16:42:36 +00:00
wiz
e348791317 Sort errors, fix xref, don't xref itself. 2011-01-10 06:26:30 +00:00
christos
c5aa3a8776 add sigqueue 2011-01-10 04:41:27 +00:00
wiz
817bb39979 Remove trailing whitespace; sort errors; spell "variadic" like
Wikipedia or GNU libc.
2010-12-19 22:19:27 +00:00
christos
4d653f4318 Make the ioctl prototype reflect reality and explain why. Also mention that
the generic file descriptor manipulation ioctls are superceded by the
equivalent fcntl one.
2010-12-19 16:54:10 +00:00
jruoho
91e230c6b8 Fix xref; module(4) -> module(7). 2010-12-14 16:23:59 +00:00
jruoho
05a9f55544 Xref module(4). 2010-12-13 10:07:46 +00:00
jnemeth
22405528a4 Rename the autoloaded property list from <module>.prop to <module>.plist
as discussed on tech-kern.
2010-11-28 00:26:38 +00:00
dholland
6e4e77d46e No file system I know of reports directory sizes that are multiples of
sizeof(struct dirent) except by accident. So, sync with reality. Brought
to my attention by Taylor R Campbell in chat.
2010-11-25 20:53:23 +00:00
skrll
162991256a Spell immediately correctly. 2010-11-02 20:49:47 +00:00
wiz
98890d79a7 Bump date for O_DIRECTORY, more markup, merge two error sections. 2010-09-22 17:58:09 +00:00
chs
38b9dc3505 implement O_DIRECTORY as standardized in POSIX-2008,
for both native and linux emulations.
this fixes the rest of PR 43695.
2010-09-21 19:26:18 +00:00
wiz
f1ecb8cf31 O_NOFOLLOW is not a non-standard extension any longer (2, 6 years? who counts). 2010-09-06 19:48:38 +00:00
wiz
4dd873e1cd Note a difference to IEEE Std 2003.1-2008. Bump date. 2010-09-06 15:22:09 +00:00
wiz
d9898a950b Explain how O_NOFOLLOW may cause EFTYPE. From joerg.
While here, sort errors. Bump date.
2010-09-05 22:44:15 +00:00
pgoyette
a3f95ef31a Add a couple more possible return values. 2010-08-18 01:55:32 +00:00
christos
eaa5239efc weakasm for kevent so it can be a cancelation point. 2010-08-06 05:26:35 +00:00
njoly
29a656f391 Improve _PC_NO_TRUNC description. From Matthew Mondor on
current-users@.
2010-07-26 12:30:16 +00:00
wiz
591b4ec0ca Bump date for _PC_NO_TRUNC description fix. 2010-07-22 19:28:25 +00:00
njoly
dcf57cdbc8 Fix wrong value (1 -> 0) in _PC_NO_TRUNC description. 2010-07-22 18:20:21 +00:00
jruoho
bb1d0e97b1 Fix .Xr; dirent(5) -> dirent(3). 2010-06-04 05:42:24 +00:00
njoly
7d9c448d51 Consistently use `.Brq Dv XXX' across syscalls man pages, for NAME_MAX
and PATH_MAX.
2010-05-31 12:16:20 +00:00
drochner
5170f0046a another POSIX compliance fix: sigwait(3) should not use errno but
return the error code directly
2010-05-31 11:02:24 +00:00
drochner
690a7f09c9 -fix internal use of sigwaitinfo(2) by sigwait(3): The former returns
the signal number now, as required by POSIX. The latter should just
 return 0 on success. Fixes a mysql problem reported by Kurt Schreiner.
-document the new behavior of sigwaitinfo and sigtimedwait
-retain non-POSIX behavior for NetBSD-5 binary compatibility -- the fix
 would likely not be polled into the .0-branches, and having 5.0.x and
 5.x behave differently would be confusing. Besides that, it was
 documented in the manpage all the time.
2010-05-30 19:31:39 +00:00
jruoho
2096402883 Refer to sigevent(3). 2010-05-19 06:44:51 +00:00
wiz
d9175b29a9 Split "file system" and fix a typo. 2010-05-18 18:05:52 +00:00
jruoho
51e86d90ef Refer to timeval(3) and only describe the legacy struct timezone here.
Improve markup.
2010-05-18 07:14:18 +00:00
jruoho
4a800d153f Offset indent, .Dv. 2010-05-17 12:38:04 +00:00
jruoho
a6141e98fc Use -enum in the list for clarity. 2010-05-17 12:23:05 +00:00
jruoho
3ae57981ed Add subtitle. Break long paragraph. 2010-05-17 12:16:43 +00:00
jruoho
eb64068f04 Note that all stat-functions are standardized nowadays. 2010-05-17 12:12:35 +00:00
jruoho
5717af9360 Reference timeval(3). 2010-05-17 07:22:03 +00:00
jruoho
3dc60799a1 Try to describe the struct stat instead of copy-pasting it from the header.
Use xrefs to avoid duplication of effort. Note the S_IS*() macros.
2010-05-17 05:20:05 +00:00
jruoho
f99f0278cc Move the more detailed discussion around the dirent-structure from
getdents(2) to dirent(5), and extend it with some compatibility notes.
2010-05-15 15:38:41 +00:00
mbalmer
c10c30d557 Correctly spell 'acknowledged'.
Found by Christian Brueffer.
2010-05-11 16:17:18 +00:00
jruoho
0fb5e18e02 Update the -- now quite big -- list of unsupported Linux options. 2010-05-04 06:13:43 +00:00
jruoho
40c884b1c3 Note secure_path(3) in SEE ALSO. 2010-05-03 05:53:56 +00:00
jruoho
68cb312101 Remove the note about eaccess(); no such thing in NetBSD. 2010-04-30 09:41:59 +00:00
wiz
5a5627574d Sort errors. 2010-04-30 06:51:52 +00:00
jruoho
54f0f8584b Use a SECURITY CONSIDERATIONS instead of the BUGS section, and steal this
section from FreeBSD (with minor modifications).
2010-04-30 06:34:23 +00:00
jruoho
a2ebffc113 Reference timeradd(3). 2010-04-30 04:17:45 +00:00
jruoho
eccc1c42e1 Add STANDARDS section. Note that both functions were marked as obsolescent
in POSIX (2008); "timer_gettime(2) and timer_settime(2) should be used".
2010-04-30 04:15:49 +00:00
jruoho
71a03dd7f6 Small improvements to wording and markup. 2010-04-30 04:06:20 +00:00
jruoho
648a1295d8 Fix the standards: utimes(2) is still in SUSv4, although marked as legacy. 2010-04-29 17:02:38 +00:00
wiz
0c57838d7b Sort errors. 2010-04-29 07:31:02 +00:00
jruoho
c792ab3e8e Note that utimes(2) no longer enjoys the blessing of POSIX. 2010-04-29 07:14:35 +00:00
jruoho
c329b28a22 Properly mark the standard that "deprecated" all of these. 2010-04-29 06:07:35 +00:00
jruoho
092ff05778 Note that the ucontext(2) et. al. were first moved from X/OPEN extensions to
the base POSIX-2001 and later marked as obsolete in POSIX-2008.
2010-04-28 14:07:03 +00:00
jruoho
69cf4af7f3 Use .In for includes. 2010-04-22 08:00:34 +00:00
wiz
3877f39979 Sort ERRORS. 2010-04-14 09:10:30 +00:00
jruoho
99e0ab963b Use a list and sort it by the entries in the structure. 2010-04-14 09:06:00 +00:00
jruoho
354bfa433d Add offsets to the indentation in couple of places. 2010-04-14 08:57:21 +00:00
wiz
957fbddadb Uncomment pdf link for paper. 2010-04-13 10:45:46 +00:00
jruoho
175f8fdaa8 Add the USENIX paper of Jonathan Lemon to SEE ALSO. 2010-04-13 09:24:09 +00:00
wiz
e80bcec341 New sentence, new line. Sort errors. Remove trailing whitespace. 2010-04-06 14:26:59 +00:00
christos
ca843a73b0 PR/43128: Paul Koning: Threads support in ptrace() is insufficient for gdb to
debug threaded live apps: Add an optional lwpid in PT_STEP and PT_CONTINUE to
indicate which lwp to operate on, and implement the glue required to make it
work.
2010-04-06 13:50:22 +00:00
joerg
a3d484cd9e \\ -> \e 2010-04-05 21:25:01 +00:00