wiz
8b2626be71
"occurred" with two "r", like the majority of files in this directory already
...
uses it.
2006-10-13 20:51:05 +00:00
wiz
f592019bff
Bump date for previous.
...
New sentence, new line.
2006-10-13 00:19:21 +00:00
elad
dc2e62e609
Reword, based on changes from jmc@OpenBSD, thanks!
2006-10-11 11:22:50 +00:00
rillig
bec39efa30
Added a reference to ipcs(1), since that's where one can find out more
...
about the semaphore limits in case of [ENOSPC].
2006-10-08 08:22:34 +00:00
elad
1210859fa1
Add nit from rillig@ for PR/19603.
2006-10-07 22:02:47 +00:00
elad
9c5eec0043
PR/23152: Matthew Mondor: Minor improvements to section 2 man pages for
...
NetBSD 1.6.1
Well we're long gone from NetBSD 1.6.1 but I adapted the patch to -current
as it seemed reasonable. Thanks for submitting!
2006-10-07 21:03:51 +00:00
kardel
403d759108
- simplify code
...
- remove any 'permission checks' via geteuid() - with upcoming
security models these might not match the model any more
- this also fixes a bug where ntp_adjtime() was denied (EPERM)
even though only a legit read status was performed
2006-10-07 20:02:01 +00:00
chs
33c1fd1917
add support for O_DIRECT (I/O directly to application memory,
...
bypassing any kernel caching for file data).
2006-10-05 14:48:32 +00:00
wiz
e5b6473963
Add article. Remove superfluous braces.
2006-09-23 15:29:09 +00:00
mishka
5c5e03838a
lib/26532: Manual page for open(2) bit difficult to understand:
...
apply patch with small improvement - s/conditions/methods/
2006-09-23 14:17:16 +00:00
wiz
e95704c08f
Note that newer gcc require -fno-reorder-blocks.
...
Various other improvements. Bump date.
Based on a patch by skrll.
2006-09-19 19:54:43 +00:00
uebayasi
bd2328b737
Clarify POLLOUT and POLLWRNORM are equivalent. Bump date.
...
Reviewed By: wiz
2006-09-08 09:43:51 +00:00
uebayasi
3ea2983121
Correct English; help with xtraeme.
2006-09-07 01:24:02 +00:00
jnemeth
335cb46309
PR/34218 -- Matt Fleming -- date hangs when root trys to set time
...
backwards while at securelevel >= 2
2006-08-17 09:59:55 +00:00
wiz
acffd648f6
Bump date for previous. Remove some Pp for consistency.
2006-08-05 18:18:37 +00:00
christos
e846b07c1f
Update for Greg Woods. Add new options and mention the bit values together
...
with the options
2006-08-05 17:58:53 +00:00
wiz
3774518cbd
Drop trailing whitespace.
2006-08-03 19:17:49 +00:00
martin
b4cb63a646
Make filehandles opaque to userland
2006-07-31 16:34:42 +00:00
christos
db1b909e30
More detailed errors [forgot to commit this a while ago]
2006-07-27 15:48:30 +00:00
wiz
2417e0f031
"file system", mark up NULL, use Brq for braces,
...
start sentence with uppercase letter.
2006-07-13 12:35:51 +00:00
martin
a3b5baed42
Fix alignement problems for fhandle_t, exposed by gcc4.1.
...
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
mrg
e2eb31d3a3
version the socket(2) syscall. for compat30 socket, we use
...
EPROTONOSUPPORT instead of EAFNOSUPPORT.
from pavel@ with a little bit of clean up from myself.
XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
2006-06-26 21:23:56 +00:00
christos
d89021fe17
Modernize:
...
getopt -> getopts
`` -> $()
YES/NO -> true/false
[ x$f = x ] -> [ -z $f ]
test -> [
errors to stderr
2006-06-18 14:28:12 +00:00
ginsbach
d05e0bc3e8
Add EAFNOSUPPORT as a possible error if the address family is not
...
supported. This adds further differentiation between which argument to
socket(2) caused the error. No longer are invalid domain (address family)
errors classified as ENOPROTOSUPPORT errors. This should make socket(2)
conform to current POSIX and X/Open standards. Fixes PR/33676.
2006-06-13 21:19:56 +00:00
ginsbach
315fde38db
Sort ERRORS. Bump date.
2006-06-13 20:37:24 +00:00
chap
f3ef5715ba
Document the recent trunk changes to ntp_gettime(2) (Hi Matthias!).
2006-06-04 15:46:08 +00:00
christos
98f3ad2656
Document SA_NOKERNINFO.
2006-06-03 18:23:52 +00:00
drochner
837ecb8ce8
support the new ntp_gettime() syscall and add compatibility for the old one
2006-05-29 10:02:56 +00:00
tsutsui
d2152dcfde
- getvfsstat(2) isn't in 2.1 but 3.0
...
- getffstat() -> getfsstat()
2006-05-19 17:59:28 +00:00
tsutsui
d3eabd24ce
fhstatvfs(2) isn't in NetBSD 2.1 but 3.0.
2006-05-19 17:57:37 +00:00
christos
b0a429fdb3
Document more MSG_ flags. From FreeBSD
2006-05-11 15:48:48 +00:00
christos
99f76ec337
Adjust for the fhstat() compat kernel change.
2006-05-04 19:00:18 +00:00
wiz
975e7796db
Improve description of msg_name and msg_namelen fields.
...
Addresses PR 33330 by Nils O. Selaasdal.
Use more markup.
2006-04-23 19:06:59 +00:00
rtr
6f6a761f7f
Remove "len was less than zero" from the list of reasons that the function
...
will fail with EINVAL since the len param is size_t and couldn't possibly
be "less than zero".
Resolves pr32516
2006-03-25 01:24:28 +00:00
christos
eb961d0e02
Add glue to build the compat library as a separate "libcold" turned off by
...
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.
2006-03-11 21:07:18 +00:00
wiz
d9f154cd37
Use more markup.
2006-03-11 12:03:03 +00:00
christos
f7f0b66150
Do not use SCARG() in userland. Eliminates need for <sys/systm.h>.
2006-03-09 23:44:43 +00:00
christos
8dd3175c14
Add documentations for the 3 undocumented ptrace calls.
2006-03-06 15:47:42 +00:00
agc
637a896022
Fix two unusual capitalisations, and add a preposition which had gone
...
missing.
2006-03-05 22:06:08 +00:00
wiz
6506e28d85
Bump date for previous.
2006-02-24 21:50:43 +00:00
wiz
ad381e882e
Improve English, fix a typo.
2006-02-24 21:50:04 +00:00
wiz
cba53a68f9
Link to getvfsstat(2) instead of getfsstat(2).
2006-02-24 20:49:38 +00:00
christos
176a6bf510
Text for the 3 new error messages, from Elad.
2006-02-21 00:11:01 +00:00
yamt
03c44ce523
document posix_fadvise.
2006-02-19 22:27:47 +00:00
chs
899d1b31b2
convert "magiclinks" from a per-fs mount option to a system-wide sysctl.
...
as discussed on tech-kern quite some time ago.
2006-02-12 01:32:06 +00:00
enami
18e10ad389
Replace a period, which is left unchanged when sentense is added in
...
rev. 1.7, to comma.
2006-02-02 05:13:57 +00:00
christos
f69cef4676
Make _Exit an alias to _exit.
2006-01-20 22:03:23 +00:00
wiz
208bc3eec1
dd CAVEATS section provided by martin@ with minor cleanup by me.
2006-01-15 16:35:58 +00:00
kleink
6012e94867
Xref pthread_sigmask(3).
2006-01-07 20:11:30 +00:00
uwe
40336aba3d
Make "When set is null" into a separate paragraph for better readability.
2006-01-06 02:30:08 +00:00
chs
89a8f7b8c9
change errors returned for various operations on "/" to conform to SUSv3.
...
as discussed on tech-kern some time back.
2005-12-27 17:24:07 +00:00
perry
fd18408b9a
u_intN_t -> uintN_t
2005-12-26 19:40:14 +00:00
yamt
0c2ecd688d
add posix_fadvise.
2005-11-29 23:06:45 +00:00
gendalia
0fbb37df6f
statvfs did not appear in 2.1, but in 3.0.
2005-11-04 06:09:20 +00:00
chs
c6be96e0fb
update errors for EIDRM (which we've returned for a long time now).
2005-11-03 17:07:28 +00:00
wiz
9b6a45d9e2
Bump date for previous. Use more appropriate markup.
...
Add an article.
2005-10-31 11:34:16 +00:00
uwe
6f167bd3a0
Document PMC_INFO_CPUCTR_TYPE.
2005-10-27 01:10:09 +00:00
chs
03b40cf7d8
remove text about converting async to sync, since we don't do it anymore.
2005-10-18 03:18:16 +00:00
wiz
ee1cc13ae5
Use only mdoc macros; remove unneeded Nm argument; use more
...
macros; English improvements.
2005-09-23 20:27:10 +00:00
jmmv
2a3e5eeb7c
Apply the NFS exports list rototill patch:
...
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
christos
5c902c0f21
Document that mkdir("/", x) returns EISDIR. According to POSIX this is not
...
an allowed error, but we return EIO and EDQUOT also which are not in POSIX
either.
2005-09-17 06:08:03 +00:00
christos
5b84b3983f
compat core reorg.
2005-09-13 01:44:08 +00:00
wiz
d317fce6ec
Remove unnecessary parentheses. Add comma in enumeration.
2005-09-10 22:27:39 +00:00
yamt
545c75e39d
d_namlen is now 16-bit.
2005-09-05 21:58:38 +00:00
yamt
f5a548d35d
sync with kernel.
2005-09-05 21:57:35 +00:00
jmmv
379e595c13
Document that binding local sockets now honors the user's umask, why this
...
was done and that this behavior is not supposed to be portable. Filling
under the security considerations section because code not following the
guidelines given here can be "less secure".
2005-08-30 15:05:04 +00:00
christos
3303764533
64 bit inode changes
2005-08-19 02:04:54 +00:00
jmmv
13f8011cf8
Fix typo.
2005-08-14 07:28:29 +00:00
pooka
304eed6ad2
document the flags O_ALT_IO and O_NOCTTY
2005-08-11 10:35:24 +00:00
jmmv
6625b5f32f
Lowercase after semicolon.
2005-08-05 13:21:13 +00:00
christos
86741d79ab
- Fix the remaining indr_references so that they define lint symbols.
...
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror
2005-07-30 15:21:20 +00:00
christos
10ca8c1c36
We don't need to define fork anymore (pthread_atfork.c) or setlogin
...
(setlogin.c). Lint pass 2 works now.
2005-07-16 17:12:12 +00:00
thorpej
65412a2710
Implement expansion of special "magic" strings in symlinks into
...
system-specific values. Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.
This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag. It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.
The following magic strings are supported by the implementation:
@machine value of MACHINE for the system
@machine_arch value of MACHINE_ARCH for the system
@hostname the system host name, as set with sethostname()
@domainname the system domain name, as set with setdomainname()
@kernel_ident the kernel config file name
@osrelease the releaes number of the OS
@ostype the name of the OS (always "NetBSD" for NetBSD)
Example usage:
mkdir /arch/i386/bin
mkdir /arch/sparc/bin
ln -s /arch/@machine_arch/bin /bin
2005-06-23 00:30:28 +00:00
peter
6c8b6ba99c
- Correct the fields in the stat structure. From PR/18255.
...
- Document the st_birthtime field.
Reviewed by wiz.
2005-06-14 12:10:02 +00:00
lukem
88c3eadbfa
Add missing __RCSID()
2005-06-12 05:21:25 +00:00
christos
661bee744c
unconst argument to swapctl().
2005-06-12 02:57:58 +00:00
christos
385ca9a533
Remove the bogus const.
2005-05-29 21:12:27 +00:00
perry
478944b35b
Change HISTORY. It traces execve only back to 4.2BSD, and it is a
...
touch older than that. (Surprisingly, though, it doesn't appear to
have been in v6.)
2005-05-07 17:29:19 +00:00
perry
d11d9afc47
cross reference script(7)
2005-05-07 02:32:35 +00:00
drochner
179747d76c
getmntinfo() if a compatibility function, so there is no point in hiding
...
references to the compatibility getfsstat()
The real problem behind PR lib/29919 was a stale weak_alias, so back out
the workaround.
2005-04-12 21:36:46 +00:00
christos
67d11513a6
PR/29919: Evaldo Gardenali: getmntinfo() calling deprecated function getfsstat()
...
Fixed by defining an _getfsstat() internal function and calling that instead.
2005-04-07 16:24:18 +00:00
christos
1880024ade
mention that SIG_IGN on SIGCHLD does not produce zombies.
2005-03-30 17:09:28 +00:00
kleink
b9a719ae1e
Add restrict qualifiers to remaining <signal.h> function arguments.
2005-03-22 20:25:31 +00:00
kleink
363c26d4ba
Interpose cancellation points in pollts() and pselect(), bringing us
...
to libc.so.12.127 and libpthread.so.0.6.
2005-03-18 11:23:44 +00:00
kleink
79b311d547
Crank the copyright year.
2005-03-10 19:53:22 +00:00
wiz
892987d654
End sentence with a dot. Remove trailing whitespace.
2005-03-10 16:51:42 +00:00
kleink
7dfdae2368
s/nil pointer/null pointer/
2005-03-10 00:31:38 +00:00
kleink
6fe0a614b5
Add pollts() prototype to <poll.h>, and update manual page synopsis for
...
pollts() header use.
2005-03-10 00:29:37 +00:00
kleink
7ef4223e7d
nil pointer -> null pointer
2005-03-09 22:28:52 +00:00
wiz
be7db22fff
Bump date for previous.
2005-03-07 13:21:24 +00:00
kleink
1c7e2b47c4
Provide select() and pselect() prototypes in <sys/select.h>, per
...
1003.1-2001, and leave the select() prototype in <unistd.h> for
compatibility. To allow for transition, reorganization of this is
deferred until netbsd-3 gets branched.
2005-03-05 19:48:38 +00:00
kleink
25bfafbaf1
Normalize the declarations of the FD_* "functions".
2005-03-03 20:49:47 +00:00
wiz
598792bd15
Bump date for pselect.
2005-02-28 10:42:19 +00:00
wiz
7564ea71d1
Bump date for pollts.
2005-02-28 10:42:10 +00:00
matt
79c744210f
Build syscalls stubs for pselect and pollts. Update man pages.
2005-02-26 18:04:19 +00:00
matt
ab963ad04b
Alphabetize main list of sources.
2005-02-25 21:51:10 +00:00
kleink
fd5cb0acea
A little libc namespace housekeeping exercise:
...
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
jwise
1161efa5da
Comment back in cross-references to other man pages, was looking at a non-recent
...
DESTDIR. Other half of last change was correct.
Pointed out by wizd.
2005-01-30 18:13:04 +00:00
jwise
449bc64125
<sys/types.h> must be included before <sys/uuid.h>.
...
Also, while here, remove `SEE ALSO' section which referenced only man pages
which we do not have.
2005-01-30 03:20:17 +00:00
wrstuden
e384a44e9d
Extend fsync_range(2) to support the FDISKSYNC flag, which requests
...
that the sync be propogated out through the disk drive caches.
2005-01-25 23:55:20 +00:00
kleink
774c973096
Note ENOATTR; from FreeBSD.
2005-01-20 13:23:57 +00:00
christos
8ef68a6575
document PT_DUMPCORE.
2005-01-09 17:41:19 +00:00
jmmv
3b31a140fa
Fix a typo and add a missing blank line.
2005-01-06 20:31:12 +00:00
ginsbach
9d30c15dda
Add EPERM to fchmod() failure list.
2005-01-06 16:30:52 +00:00
jmmv
8f037de0f8
Remove a trailing dot to match all other items in the same list.
2005-01-02 19:39:43 +00:00
wiz
f5c79d74cd
Sort sections and SEE ALSO. Remove superfluous comma.
2005-01-02 18:28:48 +00:00
thorpej
4cc9b402ea
Remove VOP_*() references.
2005-01-02 16:48:18 +00:00
thorpej
c165c2b31d
System calls and support routines for file system extended attributes. Libc
...
version is bumped to 12.125.
From FreeBSD.
2005-01-02 16:43:26 +00:00
snj
316a956c56
Bump date for last.
2004-12-12 05:56:45 +00:00
yamt
ebf187e60c
document correct return value. PR/28571 from ITOH Yasufumi.
2004-12-12 01:09:44 +00:00
kleink
504ab89f25
Remove references to the header SIG_* are located in altogether;
...
<sys/signal.h> exposed too much implementation detail, and <signal.h>
remains the sole header referenced by this page.
2004-11-23 09:38:45 +00:00
jmmv
86ebfff7b8
Minor grammar fixes.
2004-11-21 10:45:08 +00:00
wiz
3f1cd2faeb
Bump date for FIONWRITE and FIONSPACE.
2004-11-08 16:15:42 +00:00
wrstuden
16029d56b5
Add support for FIONWRITE and FIONSPACE ioctls. FIONWRITE reports
...
the number of bytes in the send queue, and FIONSPACE reports the
number of free bytes in the send queue. These ioctls permit applications
to monitor file descriptor transmission dynamics.
In examining prior art, FIONWRITE exists with the semantics given
here. FIONSPACE is provided so that programs may easily determine how
much space is left in the send queue; they do not need to know the
send queue size.
The fact that a write may block even if there is enough space in the
send queue for it is noted in the documentation.
FIONWRITE functionality may be used to implement TIOCOUTQ for Linux
emulation - Linux extended this ioctl to sockets, even though they are
not ttys.
2004-11-06 02:03:20 +00:00
jmmv
fda2840eea
Add missing colon symbol after sentence.
2004-11-03 13:11:41 +00:00
perry
653de456c5
Note that MAP_ANON memory is zero filled.
2004-10-04 18:14:48 +00:00
pooka
f213e15f84
The values for the parameter "how" are defined in sys/signal.h, not signal.h
2004-08-25 11:56:50 +00:00
wiz
5bf3687024
Add an article.
2004-08-14 11:04:29 +00:00
jdolecek
64fbdbbf78
document timeradd() and timersub() too, as e.g. select(2) points
...
to getitimer(2) for timersub() description
use .Fn rather than .Fa for the macro names
bump date
2004-08-14 10:03:30 +00:00
mycroft
a10e4d1f3a
Cardbus -> CardBus
2004-07-03 17:36:51 +00:00
wiz
a26de71379
Do not xref ourselves; grammar fixes.
2004-06-25 15:29:25 +00:00
lha
cc333b3dd7
Add list of async-signal-safe functions
...
Approved by wiz
2004-06-13 19:17:06 +00:00
lha
bb3caff139
Expand a little bit on forks behavior in threaded programs
...
OK by nathanw and martin
2004-06-10 23:45:07 +00:00
kleink
d355352b08
Don't refer to errno as "global integer variable".
2004-06-01 16:12:51 +00:00
lukem
b8580dfae9
Put the description of "options" in a new paragraph, for consistency
2004-05-24 05:52:52 +00:00
kleink
6b3fbf5d75
IEEE Std 1003.1-2001/Cor 2-2004, item XSH/TC2/D6/5: fdatasync() shall
...
have cancellation points.
Note: we ride today's resolver-related version bumps.
2004-05-21 17:15:42 +00:00
kleink
675001e211
* Note string termination behaviour of NAME_MAX vs. PATH_MAX.
...
* Replace reference to non-existant KERN_NAME_MAX appropriately with
{NAME_MAX}.
2004-05-19 11:40:51 +00:00
wiz
59c0620d8b
Bump date for previous.
2004-05-18 14:53:47 +00:00
ragge
3a42a9c112
Update connect manpage to reflect current changes.
2004-05-18 12:21:29 +00:00
wiz
64ebeb5cbc
\- is a minus, not -.
2004-05-13 10:20:57 +00:00
wiz
339084de19
\- is a minus, not -.
2004-05-13 10:10:46 +00:00
kleink
c54a69ad5a
Like in shmget(2), elaborate on IPC_EXCL in the description.
2004-05-13 01:49:55 +00:00
kleink
2594bcf8ad
Repair sentence in previous.
2004-05-13 01:43:13 +00:00
kleink
aa87f3ef0e
* Undo rev. 1.9, most of which was either redundant, inaccurate, or wrong.
...
* Elaborate on IPC_EXCL in the description.
2004-05-13 01:39:14 +00:00
wiz
7117989465
Sort sections; use \*[Lt]\*[Gt] instead of <>.
2004-05-11 20:02:54 +00:00
kleink
58c660fd11
When using PATH_MAX in the example, make sure we include <limits.h>!
2004-05-11 17:39:36 +00:00
kleink
3bb0518901
Add an example code piece; suggested by Thomas Klausner.
2004-05-11 17:38:18 +00:00
wiz
d5286aa001
End sentence with a dot.
2004-05-11 12:29:22 +00:00
kleink
8df3999b0c
While I'm at it: add restrict qualifiers to readlink(2).
2004-05-10 22:33:08 +00:00
kleink
43b7ae77fa
POSIX-2001: Change readlink(2)'s return type from int to ssize_t.
2004-05-10 22:28:23 +00:00
yamt
609701c865
- note its typical usage.
...
- bump date.
2004-05-09 11:28:58 +00:00
kleink
681b62c2ce
POSIX-2001: Add restrict keywords to gettimeofday(2) and setitimer(2);
...
further deprecate struct timezone usage by changing `tzp' argument to
gettimeofday() to void *; align utimes(2) declaration by changing `times`
argument from struct timeval * to struct timeval[2]. From Murray
Armfield in PR standards/25331.
In due curse, reflect these changes in futimes(2), lutimes(2), and
settimeofday(2).
2004-04-27 01:12:44 +00:00
kleink
3e7f30c118
POSIX-2001: Change the `who' argument to [gs]etpriority(2) from int
...
to id_t. Partially addressing PR standards/25216 from Murray Armfield.
2004-04-25 22:18:08 +00:00
kleink
8b6d4dd0ae
Xref statvfs(5).
2004-04-21 21:25:59 +00:00
wiz
3274408555
Whitespace nits; fix a minus; remove unnecessary {}.
2004-04-21 12:18:23 +00:00
wiz
1c276b3fae
Mark up NULL, and fix a minus.
2004-04-21 12:16:00 +00:00
wiz
bb32d7ba63
Drop trailing whitespace.
2004-04-21 12:10:36 +00:00
christos
6bd1d6d4db
Replace the statfs() family of system calls with statvfs().
...
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
wiz
71cdf6adc0
Fix typo in xref.
2004-04-19 11:27:03 +00:00
lukem
968e09b852
Document RLIMIT_SBSIZE.
2004-04-19 01:53:21 +00:00
pooka
12004f8f23
Pipes aren't "full-duplex byte streams", so don't compare SOCK_STREAM
...
type sockets to them.
2004-03-31 16:42:19 +00:00
drochner
66a132ee6f
sigreturn() isn't officially supported anymore; remove its manpage
...
(which was outdated anyway)
2004-03-26 21:49:35 +00:00
drochner
954d4024f6
sigreturn14 is just for compatibility, not referenced by any new code
2004-03-26 19:31:05 +00:00
wiz
5f31e2f50a
Use Aq instead of \*[Lt]\*[Gt]; \- for a minus; remove
...
superfluous comma.
2004-03-25 01:13:32 +00:00
wiz
f3fef0b660
Increase width in tables so this displays more nicely.
2004-03-24 16:14:36 +00:00
mrg
3b66f6e642
clean up my copyright
2004-03-21 05:47:44 +00:00
yamt
936455ecbc
"Upcall handlers should be registered" -> "An upcall handler ..."
...
as only one handler can be registered.
2004-03-14 23:05:09 +00:00
wiz
60f9cb09db
Begin sentences with uppercase letters.
2004-03-14 20:57:49 +00:00
snj
ae6d7048fe
Spelling fix.
2004-03-14 10:36:09 +00:00
snj
63b1d00163
Fix macro usage and a slight English problem.
2004-03-14 10:22:06 +00:00
snj
cd1f209f54
English fix.
2004-03-14 10:21:22 +00:00
snj
2fdc7bef13
English improvements.
2004-03-14 10:20:43 +00:00
snj
4e8e4580a2
Fix macro usage, use Dv for SA_FLAG_STACKINFO, and English nits.
2004-03-14 10:19:59 +00:00
snj
bcba66f310
Minor English nits.
2004-03-14 10:18:33 +00:00
yamt
e71ca4ef99
some manpages of scheduler activation syscalls.
2004-03-14 09:18:45 +00:00
lukem
6dbd72c053
MAKEVERBOSE messages
2004-02-08 22:52:41 +00:00
wiz
9af86fc6f2
Fix two typos, and remove a superfluous comma.
2004-01-30 16:03:50 +00:00
wiz
7fcc4d6c6b
Sort SEE ALSO.
2004-01-30 15:38:47 +00:00
christos
fa6c746b59
cross reference sticky(7)
2004-01-30 15:31:27 +00:00
tsarna
72489e1ea0
uuidgen(2) syscall. Originally from FreeBSD, ported by John Franklin in
...
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.
Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy. For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel. Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.
2004-01-29 02:00:02 +00:00
mrg
3c36c70c82
fix a typo
2004-01-11 16:05:27 +00:00
wiz
6807f73559
Fix some spacing nits, an Xref section, and a long line.
...
Bump date for previous.
2004-01-08 09:12:57 +00:00
christos
46f02625cb
- Describe all system threads.
...
- Mention all MI threads that are not device specific; i.e. mention scsibus,
usb, raidframe, nfs, but not pms.
2004-01-07 16:26:23 +00:00
christos
8a293ad181
Document F_MAXFD, F_CLOSEM
2004-01-05 00:34:34 +00:00
cl
90e89977d4
- libc.so.12.109 and libpthread.so.0.4
...
- add ssize_t stackinfo_offset argument to sa_register syscall
- remove sa_unblockyield syscall
- make __sigprocmask14 syscall weak
- in pthread__sa_start: catch up with 4-argument sa_register syscall
2004-01-02 18:56:39 +00:00
jmmv
8ab300d124
Fix typo; from Aidan Kehoe in PR lib/23951.
2004-01-02 17:06:21 +00:00
wiz
ef1b175332
Bump date for previous (hi christos!).
2003-12-17 23:04:33 +00:00
christos
4c4fa74153
Say what happens with pgrp == 0.
2003-12-17 21:05:30 +00:00
augustss
af68367011
Reference kfilter_register(9) rather than the non-existent kfilter_register(2).
2003-12-09 19:49:53 +00:00
keihan
39d96c1f34
netbsd.org -> NetBSD.org
...
NetBSD.ORG -> NetBSD.org
Now src/lib is done.
2003-12-04 23:39:18 +00:00
christos
22a07298e9
- Document NO_DEFER
...
- Turn sa_flags into a list to make it easier to find/read
- Sort the sa_flags lists.
2003-11-25 21:09:14 +00:00
kleink
1d408df31d
Catch up with namei: An empty string is not a valid pathname.
...
Noted by SAITOH Akinori in PR misc/23565.
2003-11-25 15:33:58 +00:00
wiz
c09770cac0
Use Rv for return values section; bump date.
2003-11-19 16:50:09 +00:00
pooka
cce38fddc2
document RETURN VALUES
2003-11-19 15:20:32 +00:00
wiz
faedb5db06
Fix typo in previous.
2003-11-18 08:49:18 +00:00
thorpej
137c808bb8
Userland portion of fsync_range(2), written by Bill Studenmund, and
...
contributed by Wasabi Systems, Inc.
2003-11-18 00:56:56 +00:00
kleink
661f76699f
POSIX: when attempting to fdatasync(2) a file which is not open for
...
writing, fail with EBADF.
2003-10-25 01:18:01 +00:00
wiz
538e6e3e1e
Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
...
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
wiz
8295081a25
& -> \*[Am]; mark up FD_SETSIZE; bump date for previous.
2003-10-14 07:44:43 +00:00
itojun
5435c421a0
note that programs that use rpc(3) cannot bump FD_SETSIZE.
2003-10-14 07:08:45 +00:00
agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
thorpej
8655c7d7eb
Add a MAP_WIRED flag to mmap(2), which causes the new mapping to be
...
wired as if by mlock(2).
2003-10-07 00:17:09 +00:00
christos
3e10887300
Pass -D_LIBC
2003-09-30 22:30:16 +00:00
cl
5c40d56471
fix SA/pthread pagefault failure:
...
- prevent BLOCKED upcalls on double page faults and during upcalls
- make libpthread handle blocked threads which hold locks
- prevent UNBLOCKED upcalls from overtaking their BLOCKED upcall
this adds a new syscall sa_unblockyield
see also http://mail-index.netbsd.org/tech-kern/2003/09/15/0020.html
2003-09-16 13:51:31 +00:00
wiz
d46db7b926
In is only to be used in SYNOPSIS; Aq Pa is better for other places.
...
Problem noticed by kleink.
2003-09-14 09:15:23 +00:00
wiz
5a12b7062e
Various fixes.
2003-09-14 09:02:49 +00:00
kleink
b9f1052a4d
Fix some typos, attempt some markup normalization, align wording a little
...
more with other manual pages.
2003-09-13 23:00:38 +00:00
christos
8694ace9bd
forgot to install timer_settime.
2003-09-13 22:50:21 +00:00
christos
960ffa78a4
Fix markup.
2003-09-13 22:44:23 +00:00
kleink
9865e7ff1d
Sprinkle restrict into timer_{create,settime}(2).
2003-09-13 22:31:04 +00:00
christos
226b4082f4
Add timer man pages. Hi Nathan!
2003-09-13 22:22:29 +00:00
christos
e4a907f72e
we only have it if __HAVE_SIGINFO is not defined.
2003-09-11 15:29:10 +00:00
wiz
fb114e34c8
Add semicolons when enumerating variables (looks more natural);
...
new sentence, new line; sort SEE ALSO.
2003-09-10 14:27:22 +00:00
christos
a3c9529278
Reflect reality after siginfo changes.
2003-09-10 14:13:07 +00:00
wiz
dca9ccd375
Use St -isoC-9X instead of St -isoC9X, to be in sync with groff.
2003-09-08 17:54:31 +00:00
drochner
bae50cfb57
correct an assertion about minimum stack size: MINSIGSTKSZ is sufficient
2003-08-11 13:25:30 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
cb
9b28f9c625
Mark __clockctl_fd close-on-exec to avoid unintentionally leaking
...
time setting privileges across an exec.
2003-07-16 19:42:11 +00:00
wiz
22c09256dd
cpu -> CPU, from jmc@openbsd.
2003-07-14 08:58:57 +00:00
wiz
0ea2a4723e
Bump date for last.
2003-07-04 12:42:05 +00:00
wiz
b0e8e1d6c7
SYNOPSIS is not a good place for C comments;
...
also, simplify macro usage.
2003-06-27 12:04:36 +00:00
wiz
73d12a57ca
Fix typo in macro.
2003-06-26 09:50:49 +00:00
christos
40e148ef6b
PR/21948: Todd Vierling: Implement MAP_TRYFIXED for linux emulation.
2003-06-23 21:32:33 +00:00
wiz
a484727e05
Adapt to current sys/socket.h. Noted by MAEKAWA Masahide in PR 21849.
2003-06-11 07:11:09 +00:00
kleink
9d85c4a5f8
Add ETIME, per POSIX-2001.
2003-05-27 22:37:33 +00:00
wiz
14cddbf770
Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
...
Bump date.
Suggested by kleink.
2003-05-15 09:52:08 +00:00
kleink
a6eebba1f8
Rather than printing the definition of struct sigaction literally,
...
change the description to name its members. This has the effect
of discouraging (non-portable) structure assignments of struct
sigaction, as well as making life easier when sa_sigaction is added.
2003-05-11 19:22:18 +00:00
kleink
88841ddec8
As prompted by Thomas Klausner, add a sentence on sigset_t and sigsetops()
...
to the introduction.
2003-05-11 18:04:42 +00:00
lukem
4fc1a075d0
O_NOFOLLOW is another non-standard extension
2003-05-08 23:20:38 +00:00
christos
9e0fed3d86
USE ${HOST_SH}
2003-05-08 13:19:44 +00:00
wiz
b12c87185e
a -> an from jmc@openbsd. Add a comma while here.
2003-05-01 14:03:39 +00:00
gmcgarry
c46e7f6852
Mention EINVAL. From PR#17921.
2003-05-01 08:45:20 +00:00
wiz
287057db85
Bump date for last.
2003-04-24 12:19:06 +00:00
wiz
aa1781ae4b
Drop trailing space.
2003-04-24 12:17:49 +00:00
christos
3630d7f233
PR/7572: John F. Woods: document EINVAL caused by bogus flags in struct
...
sigaction.
2003-04-20 23:20:52 +00:00
christos
f09dab76ee
PR/7004: Jonathan Stone: Document that sendto(2) can fail with EISCONN
2003-04-20 22:53:01 +00:00
david
fbd076d8ce
Grammar.
2003-04-20 17:40:45 +00:00
wiz
e2b9f7144c
Use .In instead of .Fd.
2003-04-16 16:09:04 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
3c88fe4c61
Bump date, remove an article.
2003-04-14 08:45:51 +00:00
jdolecek
e75e2e6438
seteuid() and setegid() were adopted in IEEE Std 1003.1-2001 + X/Open
...
portability guide issue 6, adjust headers to expose the function
prototypes with appropriate _POSIX_C_SOURCE/_XOPEN_SOURCE defines
fixes standards/21136 by MAEKAWA Masahide
2003-04-14 08:12:11 +00:00
wiz
550ed62a35
Add a comma after e.g.
2003-04-10 18:32:34 +00:00
atatat
6c903bbeb1
Document the new MAP_ALIGNED() flag/macro, be more specific about what
...
values for fd are acceptable when using MAP_ANON, and add a short
paragraph describing (in short) the relationship between mmap()
allocations and the break.
Addresses PR kern/7935 and PR lib/20803.
2003-04-10 18:22:47 +00:00
kleink
27d8588746
Change the strerror() string for ERANGE consistently to "Result too
...
large or too small" and reword its intro(2) description to reflect
the present use for non-numerical out-of-range errors; resolves
Andrew Brown's PR standards/21004, the discussion of which was
dramatically sped up by repeated whipping from Perry Metzger. :-)
2003-04-09 21:36:28 +00:00
wiz
07d13217f3
Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692.
2003-04-07 06:56:38 +00:00
perry
73d8247707
avaliable->available (Igor Sobrado, PR misc/19810)
2003-03-31 03:05:43 +00:00
perry
59dbd74ed6
enforcable->enforceable (Igor Sobrado, PR misc/19731)
2003-03-31 03:02:59 +00:00
perry
e1308f9cb1
semanics->semantics (Igor Sobrado, PR misc/19731)
2003-03-31 03:02:22 +00:00
dsl
5360d5b4c3
FIONASYNC should be FIOASYNC
2003-03-20 11:53:29 +00:00
wiz
9e95578da3
Mention namelen in DESCRIPTION. From Todd C. Miller/OpenBSD.
2003-03-18 06:44:22 +00:00
wiz
7ae24b8852
Fix capitalisation of "indicates". From Todd C. Miller/OpenBSD.
2003-03-18 06:41:19 +00:00
wiz
83de4abed2
Use "its" instead of "it's" where appropriate.
...
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
jhawk
d935301e6f
Xr vfork(2); not worth a Dd bump
2003-03-15 22:06:34 +00:00
nathanw
022a762c83
Make execve a weak syscall.
2003-03-14 22:26:13 +00:00
wiz
7958a68a71
Grammar improvements and some minor mdoc fixes.
2003-03-03 07:00:57 +00:00
jmmv
d1855421e5
Add missing .Pp
2003-03-02 14:41:11 +00:00
bjh21
22ebd2b34b
Add _Exit(), for C99 and POSIX-2001.
...
Proposed on tech-userlevel to a resounding silence in April last year.
2003-03-01 15:59:02 +00:00
tron
c05c218b69
After "sys/event.h" was fixed "sys/types.h" doesn't need to be included
...
manually any more.
2003-02-16 09:52:40 +00:00