| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
other problems while labels were first being added to various kernel
objects. They have outlived their usefulness.
MFC after: 1 month
Suggested by: Christopher dot Vance at SPARTA dot com
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when allocating the record in the first place, allocate the final buffer
when closing the BSM record. At that point, more size information is
available, so a sufficiently large buffer can be allocated.
This allows the kernel to generate audit records in excess of
MAXAUDITDATA bytes, but is consistent with Solaris's behavior. This only
comes up when auditing command line arguments, in which case we presume
the administrator really does want the data as they have specified the
policy flag to gather them.
Obtained from: TrustedBSD Project
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
| |
Requested by: Tomasz Pilat <tomasz.pilat (at) axelspringer.pl>
Approved by: andre
|
|
|
|
| |
Approved by: cognet (mentor)
|
|
|
|
| |
Approved by: cognet (mentor)
|
|
|
|
|
|
|
|
|
|
| |
is incorrect, and causes endianness bugs on 64-bit big-endian
machines (sparc64), it's the best choice for now, as many of
these IOCTLs are used inside the kernel, and bogusly pass an
argument as "int *" which results in unaligned access panics
on sparc64 when attempting to dereference them via *(intptr_t *).
(Several of us are working on a real fix, which is uneasy.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
switch by worklist type contains two for() loops, for D_INDIRDEP and
D_PAGEDEP. On error, these loops are exited by break, where the switch
actually shall be leaved. Use goto instead of break to reach the error
handling code.
Reported by: Peter Holm
Reviewed by: tegge
Approved by: pjd (mentor)
MFC after: 2 weeks
|
| |
|
|
|
|
| |
confusing issues.
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
| |
default VOP_GETWRITEMOUNT().
|
|
|
|
|
| |
reproducable with `jot -s " " 400 1 | column -t'. The bug was present
in the the original CSRG 'column -t' added in 1989.
|
|
|
|
|
|
|
|
|
|
|
| |
code is still under giant lock, but the session/pgrp release code just used
proctree_locks. This explains why moving the proctree_lock in sys/kern/tty.c
rev. 1.258 did fix the panics in our SMP systems.
This should also fix some race panics with revoked ttys.
Reviewed by: jhb
MFC after: 1 week
|
| |
|
|
|
|
| |
Security: FreeBSD-SA-06:21.gzip
|
|
|
|
|
|
|
|
| |
unlocked only if it really exists.
Found with: Coverity Prevent(tm)
CID: 1535
Approved by: pjd (mentor)
|
|
|
|
|
|
|
|
|
| |
and drop_dm_lock is true, no unlocking shall be attempted. The lock is
already dropped and memory is freed.
Found with: Coverity Prevent(tm)
CID: 1536
Approved by: pjd (mentor)
|
| |
|
|
|
|
|
|
|
| |
are passed by value. These are KDSKBMODE, KDSETLED, KDSKBSTATE,
and KDSETRAD.
Tested on: amd64, sparc64 (demo code)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dso that are actually loading. If dso a.so depends on b.so, then dlsym
with handle from dlopen("b.so") will fail unconditionally.
Correct implementation shall use the Obj_Entry.needed list to walk
dependencies DAG.
Test provided by: jkim
Tested (prev. version) by: jkim, Nicolas Blais <nb_root at videotron ca>, h.blanke at chello nl
Pointy hat to: kib
Approved by: kan (mentor)
|
|
|
|
| |
I accidentally added it to a wrong directory.
|
|
|
|
|
|
|
|
|
| |
some other less noticeable things) on little-endian 64-bit platforms
such as amd64.
PR: kern/101931
Discussed with: emax, marius
MFC after: 1 day
|
|
|
|
|
|
|
| |
initial OpenBSM merge.
Obtained from: TrustedBSD Project
MFC after: 3 days
|
|
|
|
|
|
| |
after a 'if' statement.
Pointy hat to: andre
|
|
|
|
|
|
|
| |
This should fix 'kbdcontrol -K < /dev/console' panic on sparc64 with sunkbd(4).
PR: sparc64/96798
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
Reported by: Ian FREISLICH <if at hetzner dot co dot za>
|
|
|
|
|
|
|
| |
PR: docs/100083
Reviewed by: deischen, ru
Obtained from: OpenBSD
MFC after: 2 weeks
|
|
|
|
|
| |
Submitted by: rwatson
MFC after: 1 day
|
|
|
|
| |
Spotted by: Gavin Atkinson
|
|
|
|
|
|
|
|
|
| |
a few issues in other parts of the tree, but those will be resolved
separately.
Submitted by: cogenet@
Reviewed by: kan@, obrien@
MFC After: 5 days
|
| |
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
|
|
|
|
|
|
|
|
|
|
|
| |
part of the hal distribution early on when the hal was built for
each os but it's been portable for a long time so move the os-specific
code out (and off the vendor branch)
o correct the copyright on ah_osdep.?; it was mistakenly given a
restricted license and not a dual-bsd/gpl license
o remove the module api definition as it was never used
o fixup include paths for move of ah_osdep.h
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
o parselength() returns 0 or -1 so int is enough for its return type.
Submitted by: Ighighi Ighighi, sheldonh
MFC after: 3 weeks
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
entries for tx+rx mic keys. This requires a newer hal, but works
fine with the current hal in cvs.
MFC after: 2 weeks
|
|
|
|
|
|
| |
hal's will not include the calls (due to redesign)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
be recycled during the sleep, wrap the vn_lock with vhold/vdrop.
Check that coveredvp still points to the same mp after sleep (needed
because sleep dropped Giant).
Move check for user rights for unmount after coveredvp lock is obtained.
Tested by: Peter Holm
Reviewed by: tegge
Approved by: kan (mentor)
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
| |
PR: bin/100496 (sort of)
Obtained from: NetBSD, heas@netbsd
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
STREAM FUNCTIONS section:
- Really list only and all *_stream_* functions.
- Don't list their arguments (it's pointless).
|
|
|
|
|
|
| |
PR: bin/100684
Submitted by: Devon H. O'Dell
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
Treat it accordingly.
PR: bin/101642
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vnode lock in devfs_allocv. Do this by temporary dropping dm_lock around
vnode locking.
For safe operation, add hold counters for both devfs_mount and devfs_dirent,
and DE_DOOMED flag for devfs_dirent. The facilities allow to continue after
dropping of the dm_lock, by making sure that referenced memory does not
disappear.
Reviewed by: tegge
Tested by: kris
Approved by: kan (mentor)
PR: kern/102335
|