tsutsui
ad4de7f1e5
Merge description about bintime(9), getbintime(9), getmicrotime(9),
...
nanotime(9), and getnanotime(9) from FreeBSD's microtime(9) man page,
and add appropriate MLINKS.
2008-11-24 13:50:07 +00:00
tsutsui
f208f6681d
Add MLINKS to binuptime(9), getbinuptime(9), getmicrouptime(9), nanouptime(9),
...
and getnanouptime(9) from microuptime(9).
2008-11-24 12:09:54 +00:00
tsutsui
3c3eaa10e7
Put FreeBSD's RCS Id for reference.
2008-11-24 11:55:22 +00:00
njoly
666b1f282d
mdoc warning fix.
2008-11-13 10:25:15 +00:00
ad
0efea177e3
Remove LKMs and switch to the module framework, pass 1.
...
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
reed
5c180a1861
Fix Document Title and one line description.
2008-11-11 00:10:39 +00:00
elad
bd9a6d9b4f
Add Hugh Graham (hugh@openbsd.org) to the copyright notice.
...
This man-page is based on OpenBSD's securelevel(7), and the copyright was
not reflecting that (probably due to a copy/paste error on my part; I can't
remember).
Noticed by Jeremy C. Reed, thanks!
2008-11-10 15:00:18 +00:00
wiz
1c06724455
Bump date for previous.
2008-11-09 19:57:18 +00:00
rmind
1ab44d6592
Update uvm_km_suballoc() description.
...
Also closes PR/38713.
2008-11-09 19:37:37 +00:00
wiz
c9fe8b901d
Use .Er for error codes.
2008-10-28 18:42:54 +00:00
plunky
d2d4850456
clarify allocation/error return of sockopt_set()
2008-10-28 12:07:25 +00:00
wiz
7eae71285b
Bump date for previous, use Fx for FreeBSD.
2008-10-13 08:27:13 +00:00
plunky
55e1b371a4
update to clarify that
...
sockopt_init() may sleep
sockopt_set() will not sleep
2008-10-12 09:27:57 +00:00
pooka
de40c24778
int -> u_int per source
2008-10-06 13:51:38 +00:00
pooka
8c1c8c2229
fix example: ONCE_DECL(), not DECL_ONCE()
2008-10-03 16:19:46 +00:00
pooka
0806536f52
* vmem_create returns vmem_t *, not vmem_t
...
* document ipl
2008-09-24 21:11:25 +00:00
pooka
1179d6842d
Make kauth_cred_setgroups() signature match the const, hard reality.
2008-09-23 22:40:46 +00:00
jmcneill
f1873b19e3
Mention RND_TYPE_RNG type for rnd_attach_source
2008-09-16 23:29:49 +00:00
pgoyette
833dabdc95
Add MLINKS for all the routines that cnmagic.9 documents. Without this,
...
"apropos magic" indicates that cn_trap(9) and friends have man pages, but
"man cn_trap" thinks otherwise.
2008-09-16 16:40:23 +00:00
itohy
d6e760bdd5
Escape "\" as "\e" in the example.
...
Fix formatting problems reported by Stathis Kamperis on PR bin/39535.
2008-09-14 12:51:39 +00:00
simonb
0541e9f3e3
Revert change made two years ago(!). copyin_proc() and copyout_proc()
...
have never been converted to operation on LWPs.
2008-09-12 00:35:12 +00:00
ahoka
f2efa49e4e
That audio is in fact should be video in the short description. :-)
2008-09-08 22:21:47 +00:00
jmcneill
0bdc64b4ac
Add AUTHORS section.
2008-09-06 20:50:15 +00:00
wiz
775589a87e
New sentence, new line.
...
Use more markup, fix some; fix some typos.
2008-09-06 20:36:47 +00:00
jmcneill
55507439a1
Add video(4) and video(9) man pages.
2008-09-06 19:08:29 +00:00
hubertf
757e967226
The pseudo-device is really "accf_http" instead of "accf_data"
...
Bump date
Sanity-checked by tls@
2008-09-04 14:05:01 +00:00
erh
d004547533
Add man page links from ttyldisc_{add,lookup,remove} to linedisc
2008-09-03 03:02:48 +00:00
erh
964cfd5cb0
Add "linedisc" to the name section of the linedisc man page so
...
it shows up better in apropos output.
2008-09-03 02:56:47 +00:00
wiz
89869cba16
Bump date for previous.
2008-08-15 21:10:14 +00:00
reed
3cb285ac94
Point to further documentation related to SYSCTL_SETUP.
2008-08-15 16:43:51 +00:00
tls
b1d270319d
Manual pages for accept_filters(9), from FreeBSD. Also, document syntax we
...
added in NetBSD for specifying accept filters in inetd.conf.
2008-08-10 14:55:13 +00:00
drochner
52c126ff5a
there was a backslash too much
2008-08-06 19:19:15 +00:00
plunky
e922dcbb71
add man page for sockopt(9)
2008-08-06 15:08:08 +00:00
skrll
d47eac2b49
s/non-zero/true/,s/zero/false/
...
where applicable.
2008-08-06 07:49:15 +00:00
skrll
cfee00cbb7
Spellos
2008-08-06 07:08:31 +00:00
pooka
7ab651d699
fix VOP_ISLOCKED description
...
noticed by Adam Burkepile
2008-08-04 21:22:02 +00:00
pooka
aeb494ada2
ubc doesn't require a vnode vm object these days.
2008-08-04 13:31:14 +00:00
manu
cafe72412e
Document apping between boothowto flags and boot(8) arguments selecting
...
aprint_*() verbosity. From Jean-Yves Migeon <jean-yves.migeon@espci.fr>
2008-07-25 07:33:57 +00:00
rmind
103b767319
- From Paul Goyette: correct the description of mutex_spin_exit.
...
- Remove sentence about lockmgr(9), as it is finally replaced.
- Note atomic_ops(3) and membar_ops(3) man pages.
2008-07-19 21:21:38 +00:00
gdt
1cd8f017b9
Changemanpages written by Igor Sobrado to 2-clause license, per
...
private email from Igor. Drop attribution to Matt Thomas in those man
pages, per private email from Matt. In coredump_write.9, fix
capitalization of THomas. Requested by martin@.
2008-07-11 13:20:17 +00:00
pooka
d4aaae9291
Code is in subr_hash, not kern_hash.
...
from Michal Spacek
2008-07-01 15:37:04 +00:00
ad
b7a93f5dfd
Note that DIAGNOSTIC/LOCKDEBUG applies.
2008-06-04 11:24:36 +00:00
enami
6fddba0b06
No comma is necessary for the last .Nm entry.
2008-05-31 16:24:59 +00:00
mrg
c2b95373bf
remove clause #3 from my license where there are no other
...
copyright holders involved.
2008-05-29 14:51:25 +00:00
snj
fa7a018146
Fix a spelling error.
2008-05-28 00:31:10 +00:00
snj
86320a034c
Fix a typo.
2008-05-28 00:29:12 +00:00
snj
4497f1f884
Remove trailing whitespace, correct a spelling error, and fix an xref.
2008-05-28 00:19:52 +00:00
hubertf
e81830fe24
Fix code reference after hashinit(9) was moved from
...
kern_subr.c to kern_hash.c some time ago.
Noted by Michael Spacek.
2008-05-27 22:03:52 +00:00
wiz
ade5187cdc
Use Fn for function.
2008-05-25 20:00:30 +00:00
wiz
6d252519d6
Put argument directly behind macro call. Link to sched_4bsd instead
...
of removed scheduler(9).
2008-05-25 19:45:43 +00:00
hannken
5d2bff060a
Make sure all cached buffers with valid, not yet written data have been
...
run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller
intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
may clear the buffer and runs copy-on-write. Process possible errors
from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
2008-05-16 09:21:59 +00:00
tnn
88a92b676a
Change a couple of stray selwakeup references to selnotify.
...
Also fix typo.
2008-05-13 15:52:51 +00:00
he
e37d711d99
Manually break up the pci_activate() declaration, so that we avoid a
...
warning from nroff.
2008-05-11 14:15:53 +00:00
martin
7734697b2f
Simplify some unclear grammar (sync KASSERT and KDASSERT wording)
2008-05-10 15:39:04 +00:00
martin
5d1469bd77
Backout previous: the license sweep touched these files in error, so
...
restore the old license.
2008-05-10 15:31:03 +00:00
rumble
8c7664bba5
Typo.
2008-05-10 04:08:59 +00:00
yamt
9cbf394e66
update to match with the recent reality.
2008-05-06 11:32:46 +00:00
yamt
fc066b20a9
update after the following change.
...
subr_hash.c
revision 1.3
date: 2008/05/05 17:11:17; author: ad; state: Exp; lines: +26 -12
- Convert hashinit() to use kmem_alloc(). The hash tables can be large
and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.
2008-05-06 10:13:55 +00:00
yamt
508d265a44
document kpreempt_disable, kpreempt_enable, and kpreempt_disabled.
2008-05-06 08:34:35 +00:00
yamt
82ae7f3c2b
add a missing .El
2008-05-06 08:32:27 +00:00
plunky
005a75dd15
update disk.9 manpage to current reality
...
- add disk_init() (from vmlocking merge)
- add disk_destroy() (from vmlocking merge)
- remove disk_resetstat() (was removed)
- update structure defs
- update examples (ANSI, const, device_t etc)
2008-05-03 09:43:40 +00:00
martin
cab1b04778
Move to standard 2 clause license
2008-05-02 21:46:19 +00:00
martin
b63f1573d0
Move to 2 clause license
2008-05-02 21:36:23 +00:00
martin
cd22f25e6f
Move TNF licenses to 2 clause form
2008-05-02 18:11:04 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
reinoud
5fc434dc18
Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET().
...
BUFQ_CANCEL(queue, element) removes the specified element previously queued
on the queue. It returns NULL if it was not found on the queue and the
element if it was successfully removed.
Run trough tech-kern and changed name from BUFQ_REVOKE() by suggestion of
Jason Thorpe.
2008-04-30 12:09:02 +00:00
mjf
06c9a5d43c
Grammar fix.
2008-04-25 14:16:05 +00:00
ad
96947a72d2
Fix typo, PR misc/38474.
2008-04-21 13:00:12 +00:00
riz
de31682369
Catch the documentation up with the changes in vfs_vnops.c revision
...
1.155 - s/struct file/file_t/, and dropping a struct lwp * arg from
some functions.
2008-04-10 04:43:02 +00:00
xtraeme
0ee95516ea
Add MLINKS for the sysmon_envsys_* functions.
2008-04-02 14:49:31 +00:00
jmcneill
2bd589c8a4
Fix paths in CODE REFERENCES section.
2008-03-29 14:12:59 +00:00
xtraeme
87e2fc09d7
The select and poll subsystems are now implemented in sys_select.c
...
and not sys_generic.c.
2008-03-25 21:51:32 +00:00
yamt
d77618f875
update after yamt-lazymbuf merge.
2008-03-24 12:30:17 +00:00
yamt
1872c2a033
discourage the new use of malloc(9).
2008-03-24 08:24:48 +00:00
mjf
74d757d370
struct componentname has no cn_lwp member anymore. Also update the data
...
types for the other struct members so they actually reflect sys/sys/namei.h
2008-03-20 18:56:28 +00:00
drochner
fce349e672
update for pmf_device_register1() and the "boothowto" argument to
...
shutdown handlers
2008-03-03 11:43:18 +00:00
rmind
2fd89ef88a
Rename selrecord(9) man page to select(9). Sync selnotify() with reality,
...
remove selwakeup(), add and explain the usage of selinit() and seldestroy().
Reviewed by <ad>.
2008-03-02 00:30:21 +00:00
xtraeme
5bbe544447
Fix the mb(9) xref.
2008-03-01 22:28:46 +00:00
elad
cd05a6ee9b
Introduce a new kauth action, KAUTH_NETWORK_NFS, and two requests,
...
KAUTH_REQ_NETWORK_NFS_EXPORT and KAUTH_REQ_NETWORK_NFS_SVC, and use them
to replace two KAUTH_GENERIC_ISSUSER calls in the NFS code.
Also replace two more with KAUTH_SYSTEM_MKNOD, where appropriate.
Documetnation and examples updated. More to come.
2008-02-28 17:07:49 +00:00
xtraeme
51e43163c8
Add three new values for ENVSYS_DRIVE units:
...
* ENVSYS_DRIVE_OFFLINE, ENVSYS_DRIVE_CHECK and ENVSYS_DRIVE_BUILD
2008-02-28 16:21:34 +00:00
elad
67470a76a1
Factor out the guts of get/setparam so it can be used from the compat code.
...
Make the FreeBSD and Linux compat code convert the parameters to their
native representation and call the native routines.
Remove KAUTH_PROCESS_SCHEDULER_GET/SET.
Update documentation and examples.
XXX: For now, only the Linux compat code does the priority conversion
XXX: right.
Linux priority conversion code from yamt@, thanks!
Okay yamt@.
2008-02-28 16:09:18 +00:00
elad
e99760e7e4
Fold KAUTH_REQ_PROCESS_SCHEDULER_* to KAUTH_PROCESS_SCHEDULER_*. In other
...
words, don't pass an action and a request, and just use a single action to
indicate what is the operation in question.
This is the first step in fixing PR/37986, which calls for policy/priority
checking in the secmodel code. Right now we're lacking room for another
parameter required to make a decision, and this change makes room for such.
2008-02-16 16:39:34 +00:00
ad
bd48672369
- Clarify how this works.
...
- Note the locking rules.
2008-02-14 17:39:50 +00:00
ad
d4c279feec
- Remove pointless AUTHORS section.
...
- Remove implementation details.
2008-02-14 17:25:51 +00:00
skrll
49c62025b3
Fix some pastos.
2008-02-13 16:00:18 +00:00
dyoung
e90c5683d4
Suggest #include <sys/evcnt.h> instead of <sys/device.h>, since
...
the former is sufficient, and the latter pulls in oodles of
unnecessary stuff.
2008-02-11 03:49:13 +00:00
elad
8f8e9e057c
Xref security(8) from veriexec(4), veriexec(9), veriexecctl(8), and
...
veriexecgen(8).
Suggested by Matthew Mondor.
2008-02-10 19:32:23 +00:00
uwe
f2d6229f80
Mark up PMFE_* list properly.
2008-02-03 17:18:18 +00:00
uwe
b5fde352cb
pmf_device_register() returns false on error.
2008-02-03 16:56:42 +00:00
elad
e43f626d03
Add, document, and use KAUTH_REQ_PROCESS_KTRACE_PERSISTENT.
2008-02-02 21:04:40 +00:00
elad
cd23f36378
Replace a KAUTH_GENERIC_ISSUSER in the cpuctl code with a proper kauth
...
request.
Reviewed by ad@, tested by me.
2008-02-01 20:01:06 +00:00
ad
234836feb7
Sync with reality. This is a work in progress.
2008-02-01 09:05:52 +00:00
elad
fb37bad459
Use proper kauth(9) actions/requests for native scheduler stuff and the
...
recently introduced processor-sets.
Discussed with and okay rmind@, yamt@, and christos@.
2008-01-30 17:54:55 +00:00
ad
162c8882a2
These interfaces have been obsoleted and removed from the system.
...
Please see the condvar(9), mutex(9), and rwlock(9) manual pages for
information on kernel synchronisation primitives.
2008-01-30 14:18:53 +00:00
wiz
491885cb8a
Document that cv_timedwait with a ticks argument of zero behaves like
...
cv_wait.
2008-01-26 14:16:27 +00:00
ad
f75e36826b
Document returning parameter. Fixes PR misc/37612.
2008-01-24 23:06:10 +00:00
tnn
1b0f7f4f5a
Mention vfs_subr2.c.
2008-01-24 07:11:25 +00:00
tnn
9c6c94658e
vattr_null lives in vfs_subr2.c now.
2008-01-24 07:02:31 +00:00
elad
3c22fac894
Bump date.
2008-01-23 15:20:54 +00:00
elad
c27d5f30b6
Tons of process scope changes.
...
- Add a KAUTH_PROCESS_SCHEDULER action, to handle scheduler related
requests, and add specific requests for set/get scheduler policy and
set/get scheduler parameters.
- Add a KAUTH_PROCESS_KEVENT_FILTER action, to handle kevent(2) related
requests.
- Add a KAUTH_DEVICE_TTY_STI action to handle requests to TIOCSTI.
- Add requests for the KAUTH_PROCESS_CANSEE action, indicating what
process information is being looked at (entry itself, args, env,
open files).
- Add requests for the KAUTH_PROCESS_RLIMIT action indicating set/get.
- Add requests for the KAUTH_PROCESS_CORENAME action indicating set/get.
- Make bsd44 secmodel code handle the newly added rqeuests appropriately.
All of the above make it possible to issue finer-grained kauth(9) calls in
many places, removing some KAUTH_GENERIC_ISSUSER requests.
- Remove the "CAN" from KAUTH_PROCESS_CAN{KTRACE,PROCFS,PTRACE,SIGNAL}.
Discussed with christos@ and yamt@.
2008-01-23 15:04:38 +00:00