History log of /freebsd/sys/kern/subr_prf.c (Results 176 – 200 of 405)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.6.2_cvs, release/4.6.2
# af338bea 11-Aug-2002 David Malone <dwmalone@FreeBSD.org>

Make kern.log_console_output a tuneable aswell as a sysctl.

MFC after: 1 week


Revision tags: release/4.6.1
# e0b74464 05-Jul-2002 Warner Losh <imp@FreeBSD.org>

dd %i as an alias for %d for greater compatibility with our *BSD bretheren

Obtained from: NetBSD
Reviewed by: jake, rwatson, bosko


Revision tags: release/4.6.0_cvs
# 80208239 29-Jun-2002 Alfred Perlstein <alfred@FreeBSD.org>

More caddr_t removal.
Change struct knote's kn_hook from caddr_t to void *.


# f16a5176 02-Jun-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

ANSIfy the one remaining K&R function.


# e89efc02 02-Jun-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Whitespace nits.


# 3b1f7e7d 02-Jun-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Add support for 'j' flag. Simplify the size modifier code and reduce code
duplication. Also add support for 'n' specifier.

Reviewed by: bde


# dbe620d3 29-Apr-2002 David Malone <dwmalone@FreeBSD.org>

Add a sysctl which disables the logging of console output.

Approved by: phk
MFC after: 2 weeks


# 44731cab 01-Apr-2002 John Baldwin <jhb@FreeBSD.org>

Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API. The entire API now consists of two functions
similar to the pre-KSE API. The suser() function takes

Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API. The entire API now consists of two functions
similar to the pre-KSE API. The suser() function takes a thread pointer
as its only argument. The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0. The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on: smp@

show more ...


# 4d77a549 19-Mar-2002 Alfred Perlstein <alfred@FreeBSD.org>

Remove __P.


# 183ccde6 11-Mar-2002 Seigo Tanimura <tanimura@FreeBSD.org>

Stop abusing the pgrpsess_lock.


# f591779b 23-Feb-2002 Seigo Tanimura <tanimura@FreeBSD.org>

Lock struct pgrp, session and sigio.

New locks are:

- pgrpsess_lock which locks the whole pgrps and sessions,
- pg_mtx which protects the pgrp members, and
- s_mtx which protects the session member

Lock struct pgrp, session and sigio.

New locks are:

- pgrpsess_lock which locks the whole pgrps and sessions,
- pg_mtx which protects the pgrp members, and
- s_mtx which protects the session members.

Please refer to sys/proc.h for the coverage of these locks.

Changes on the pgrp/session interface:

- pgfind() needs the pgrpsess_lock held.

- The caller of enterpgrp() is responsible to allocate a new pgrp and
session.

- Call enterthispgrp() in order to enter an existing pgrp.

- pgsignal() requires a pgrp lock held.

Reviewed by: jhb, alfred
Tested on: cvsup.jp.FreeBSD.org
(which is a quad-CPU machine running -current)

show more ...


# 58a24f79 10-Feb-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Style(9) nits.

Obtained from: ~bde/sys.dif.gz


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# d0615c64 16-Jan-2002 Andrew R. Reiter <arr@FreeBSD.org>

- Attempt to help declutter kern. sysctl by moving security out from
beneath it.

Reviewed by: rwatson


# 6f3933fa 30-Nov-2001 Robert Watson <rwatson@FreeBSD.org>

o Introduce kern.security.bsd.unprivileged_read_msgbuf, which allows
the administrator to restrict access to the kernel message buffer.
It defaults to '1', which permits access, but if set to '0'

o Introduce kern.security.bsd.unprivileged_read_msgbuf, which allows
the administrator to restrict access to the kernel message buffer.
It defaults to '1', which permits access, but if set to '0', requires
that the process making the sysctl() have appropriate privilege.
o Note that for this to be effective, access to this data via system
logs derived from /dev/klog must also be limited.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

show more ...


# cca8f980 10-Nov-2001 Ian Dowse <iedowse@FreeBSD.org>

Properly sanity-check the old msgbuf structure before we accept it
as being valid. Previously only the magic number and the virtual
address were checked, but it makes little sense to require that
the

Properly sanity-check the old msgbuf structure before we accept it
as being valid. Previously only the magic number and the virtual
address were checked, but it makes little sense to require that
the virtual address is the same (the message buffer is located at
the end of physical memory), and checks on the msg_bufx and msg_bufr
indices were missing.

Submitted by: Bodo Rueskamp <br@clabsms.de>
Tripped over during a kernel debugging tutorial given by: grog
Reviewed by: grog, dwmalone
MFC after: 1 week

show more ...


# b40ce416 12-Sep-2001 Julian Elischer <julian@FreeBSD.org>

KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is fu

KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after: ha ha ha ha

show more ...


# 948d3d94 03-Jul-2001 Thomas Moestl <tmm@FreeBSD.org>

Make the code to read the kernel message buffer via sysctl machine-
independent and rename the corresponding sysctls from machdep.msgbuf and
machdep.msgbuf_clear (i386 only) to kern.msgbuf and kern.m

Make the code to read the kernel message buffer via sysctl machine-
independent and rename the corresponding sysctls from machdep.msgbuf and
machdep.msgbuf_clear (i386 only) to kern.msgbuf and kern.msgbuf_clear.

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0
# ef73ae4b 10-Jan-2001 Jake Burkholder <jake@FreeBSD.org>

Use PCPU_GET, PCPU_PTR and PCPU_SET to access all per-cpu variables
other then curproc.


# 661f2768 23-Dec-2000 Matt Jacob <mjacob@FreeBSD.org>

Make sure we have a non-null proc pointer before referring to fields
off of it.


# b80e3b41 20-Dec-2000 Poul-Henning Kamp <phk@FreeBSD.org>

A last minute brucification resulted in syntax errors in the previous commit.


# e2a09b26 20-Dec-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Replace logwakeup() with "int msgbuftrigger". There is little
point in calling a function just to set a flag.

Keep better track of the syslog FAC/PRI code and try to DTRT if
they mingle.

Log all w

Replace logwakeup() with "int msgbuftrigger". There is little
point in calling a function just to set a flag.

Keep better track of the syslog FAC/PRI code and try to DTRT if
they mingle.

Log all writes to /dev/console to syslog with <console.info>
priority. The formatting is not preserved, there is no robust,
way of doing it. (Ideas with patches welcome).

show more ...


# a52585d7 26-Nov-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Simplify the tprintf() API.

Loose the special <sys/tprintf.h> #include file.


# 4d88c459 26-Nov-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Make log(-1, ...) do what addlog(...) did.

Replace all uses of addlog(...) with log(-1, ...)

Remove bogus "register" keywords in subr_prf.c

Make log() return void.


Revision tags: release/4.2.0
# aa998012 02-Oct-2000 Mike Smith <msmith@FreeBSD.org>

Treat %X the same as %x (not entirely correct, but close enough).


Revision tags: release/4.1.1_cvs
# 0384fff8 07-Sep-2000 Jason Evans <jasone@FreeBSD.org>

Major update to the way synchronization is done in the kernel. Highlights
include:

* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The
alpha port is still in transition and c

Major update to the way synchronization is done in the kernel. Highlights
include:

* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The
alpha port is still in transition and currently uses both.)

* Per-CPU idle processes.

* Interrupts are run in their own separate kernel threads and can be
preempted (i386 only).

Partially contributed by: BSDi (BSD/OS)
Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh

show more ...


12345678910>>...17