| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| |
| |
| | |
new syscall entry lkmressys - "reserved loadable syscall"
Make syscall_register allow overwriting of such entries (lkmressys).
|
| |
| |
| |
| | |
next time I need to hack on it.
|
| |
| |
| |
| | |
the synopsis in a nice form, and a few more cosmetic changes.
|
| |
| |
| |
| | |
a lkmnosys into the sysent table so that SYSCALL_MODULE() works
|
| |
| |
| |
| | |
Submitted by: bde
|
| |
| |
| |
| | |
include files in subdirs of it.
|
| | |
|
| |
| |
| |
| |
| |
| | |
hard-coded asm.
Suggested by: bde
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
but a hack! Add `flags 0x8000' to the psm driver to enable it.
The psm driver will try to get out of out-of-sync situation
by disabling the mouse and immediately enable it again.
If you are seeing this out-of-sync problem because of an
incompetent(?!) KVM switch, this hack will NOT be good
for you. However, if you are occasionally seeing the
problem because of lost mouse interrupt, this might help.
|
| |
| |
| |
| |
| | |
MouseMan+ identification routines for efficiency.
No functional change.
|
| | |
|
| |
| |
| |
| | |
go to sleep as an "atomic" operation.
|
| |
| |
| |
| |
| |
| |
| | |
lock. Otherwise, if we block on the backing mutex while releasing the
allproc lock, then when we resume, we will be at SRUN, and we will stay
that way all the way through cpu_exit. As a result, our parent will never
harvest us.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Remove associated pushes of dummy units to convert frame.
Reviewed by: jhb
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
depend on MUTEX_DEBUG. The MUTEX_DEBUG option turns on extra assertions
and checks to verify that mutexes themselves are implemented properly.
The WITNESS option uses extra checks and diagnostics to verify that other
code is using mutexes properly.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o In practice: the comment indicates that all but umask and
environmental variables of the users login class are applied when su
occurs, unless -m is used to specify a class. This was incorrect;
in practice, the uid, gids, resources, and priority were set, and
then resources and priority were selectively removed. This meant
that some aspects of the user context were not set, including handling
of login events (wtmp, utmp), as well as the path specified in
login.conf.
o I changed it so that the behavior is the same, but instead,
LOGIN_SETALL is used, and appropriate flags are removed, including
the LOGIN_SETLOGIN and LOGIN_SETPATH entries that were implicitly
not present before. I also updated the comment to reflect
reality, selecting reality as the "correct" behavior.
o This has the practical benefit that as new LOGIN_SET* flags are
introduced, they are supported by su unless specifically disabled.
For example, of a LOGIN_SETLABEL flag is introduced to support
MAC labels determined by the user's login class, then su no longer
has to be modified.
o It might be desirable to have su use LOGIN_SETPATH depending on
its command line parameters, as it might or might not be
considered part of the "environment".
Obtained from: TrustedBSD Project
|
| |
| |
| |
| | |
idletime[900]+earlyhup[5] > unitlength[60]!'' message.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
comment describing how to take advantage of telcos that give
free phone calls at certain times.
|
| |
| |
| |
| |
| |
| | |
rc.conf: make the system recognise the MAC address and assign an IP
automatically from /etc/hosts (or ask the user)
sshd_config: don't do x11 forwarding.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
/usr/obj hardwired in the code, now you can override it
with a command line option or MAKEOBJDIRPREFIX env. variable.
The above is useful to build picobsd-specific objects in some other
place than /usr/obj
While at it, fix documentation and change a few sprintf -> snprintf.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
passed vnode must be locked; this is the case because of calls
to VOP_GETATTR(), VOP_ACCESS(), and VOP_OPEN(). This becomes
more of an issue when VOP_ACCESS() gets a bit more complicated,
which it does when you introduce ACL, Capability, and MAC
support.
Obtained from: TrustedBSD Project
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
|
| | |
| | |
| | |
| | | |
we will stall on non-disk IO for things like fifos and sockets
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
for return because we do Evil Things(tm) with a 'ret' macro in
asmacros.h.
Noticed by: markm
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
recently discussed at -hackers. The problem is a null-pointer
dereference that happens in kern/vfs_lookup.c when accessing ".."
with a v_mount entry for the current directory vnode of NULL. This
happens when a volume is forcibly unmounted, and the vnode for a
working directory in the mounted volume is cleared.
PR: 23191
Submitted by: Thomas Moestl <tmoestl@gmx.net>
|
| | |
| | |
| | |
| | | |
Reviewed by: sheldonh
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
locking the global hash on each uifree()
make struct uidinfo only visible to the kernel
make uihold() a function rather than a macro to reduce bloat
swap the order of a spl/mutex to maintain consistancy
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Properly advance to the next image while searching for the ROM image
that contains CIS data.
KNF an if statement.
|
| | |
| | |
| | |
| | |
| | |
| | | |
the mutex aquire/release
reorder struct ucred
|
| | |
| | |
| | |
| | |
| | |
| | | |
already released mutex).
Submitted by: "Chris Knight" <chris@aims.com.au>
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
setting the index of the bit. (0xc vs. 0x1000)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
exactly the same as passing -P to boot2.
Submitted by: jhb
|