itohy
d796584488
Don't use esp_pcmcia_enable() before attaching chip driver (ncr53c9x),
...
since it touches storage allocated by the chip attach function.
The chip driver properly calls scsipi_adapter_addref() /
scsipi_adapter_delref(), and just deleting the esp_pcmcia_enable() call
and the relevant code should be OK.
Fix panic descibed in PR kern/26909.
2006-12-28 16:37:46 +00:00
rumble
d7e1303681
Permit mmap, improve register definitions, disable the hardware cursor, and
...
other minor nits.
2006-12-28 16:33:49 +00:00
rumble
c4ba13a80c
Sprinkle static.
2006-12-28 16:19:14 +00:00
rumble
c77d82ad5f
Handle fpu interrupts (MIPS interrupt 0) on IP12.
2006-12-28 16:15:11 +00:00
yamt
88bbf6ee26
mount_domount: revive code to enforce MNT_NOSUID and MNT_NODEV for usermount,
...
which was removed mistakenly by rev.1.286. pointed by elad.
2006-12-28 14:33:41 +00:00
wiz
9fb2b767d2
New sentence, new line. Use Nx. Drop dot at end of SEE ALSO.
2006-12-28 11:44:19 +00:00
martin
55a9a999dd
Use CCFSZ instead of 96 for standard save operations.
2006-12-28 10:02:43 +00:00
elad
5d2c44c76f
PR/32877: Geoff C. Wing: mount_procfs(8) doesn't null-terminate cmdline
...
output
Patch applied, thanks!
2006-12-28 09:17:52 +00:00
elad
8e5a82bb94
Revert bogus NULL check introduced in revision 1.96 that generated false
...
Coverity "bugs".
2006-12-28 09:12:38 +00:00
alc
8f1ebe33c9
revert previous, after inspection `kfs->kfs_kt' could really not be NULL here.
...
reported/requested by elad@
2006-12-28 05:51:56 +00:00
alc
94d1925ccb
fix comment (forgotten in rev 1.19):
...
- pfsnode -> kernfs_node
- procfs -> kernfs
2006-12-28 05:49:05 +00:00
xtraeme
d9e9fef5b7
More NQNFS fallout (hi yamt!).
2006-12-28 04:17:51 +00:00
itohy
3e588075d6
Stop callout on detach.
2006-12-28 03:13:54 +00:00
hubertf
f300aecb2d
Fill manpage with some data, taken from comments in the kernel source
2006-12-28 02:09:49 +00:00
yamt
a23a6ee6c6
remove several nqnfs definitions.
2006-12-28 00:39:03 +00:00
chs
7645d04974
fix two more problems in the recent changes to lookup():
...
- don't hold the parent directory vnode locked while traversing mount points.
the fs that's mounted might be an NFS served by a userland process
like the automounter, which might need to traverse the parent directory
in order to complete the lookup.
- in the ENAMETOOLONG case fixed in rev. 1.75, set ni_dvp to dp
since we've logically moved on to using "dp" as the parent.
the caller will then handle vput()ing it as normal.
this fixes PR 35279.
2006-12-27 23:21:02 +00:00
dogcow
be3e9fcde5
fix a (valid) "buf may be used uninitialized" warning/error in DIAGNOSTIC.
2006-12-27 22:07:17 +00:00
dogcow
d7e50df65a
more NQNFS removal fallout
2006-12-27 21:53:58 +00:00
alc
c7b3cb6e97
CID-3317: check for 'm != NULL' before using it (rework the code path to
...
explicitly return `EINVAL'. Before, it was done but later in
ip6_setpktopt() when checking for 'len < ...')
CID-3316: check for 'm != NULL' before using it
ok christos@
2006-12-27 18:49:40 +00:00
dogcow
0dbd865aab
arg might be improperly initialized; fix that.
...
(also, since we check arg == NULL, s/arg = 0/arg = NULL/.)
2006-12-27 18:47:20 +00:00
alc
a4ba78e89b
CID-4197,4198: ensure that `fp' is not NULL before calling FILE_UNUSE()
...
ok christos@
2006-12-27 18:45:30 +00:00
alc
24803bd1c4
remove the KASSERT() introduced in last commit and use VLAN_OUTPUT_TAG() macro.
...
tested by martin@
pointed out and ok by pavel@, also ok from christos@
2006-12-27 18:36:09 +00:00
alc
ea827cc550
CID-3809: move up the initialization of `fr' as we can jump to junkput: if
...
fr_inobj() fails. junkput: will then check the value of `fr' which is at
this time uninitialized.
CID-3803: don't leak `ipn' upon return
ok christos@
2006-12-27 18:28:54 +00:00
alc
980fc49cd5
CID-3325: don't leak `fd'
...
Also, check for the return value of malloc(3)
ok christos@
2006-12-27 18:13:53 +00:00
alc
aca410156d
CID-3802: don't leak `isc'
...
ok christos@
2006-12-27 18:10:03 +00:00
pooka
a61b6925e7
support reading wtmp/wtmpx from stdin with -f -
...
from bin/35329 by David A. Holland
2006-12-27 18:03:26 +00:00
alc
f8b0309827
CID-3821: don't leak `fh' and close the firmware properly
...
ok christos@
2006-12-27 18:01:45 +00:00
alc
2fc133de08
CID-4192: ensure we have 'uobj != NULL` here
...
ok christos@ and yamt@
2006-12-27 17:59:08 +00:00
alc
c6ea7a850f
CID-4199: move the test (line != NULL) one line up to check the
...
return value of strdup()
ok christos@
2006-12-27 17:55:05 +00:00
alc
0c17aa264d
Fix a typo in ht_free() which caused the last list of the hashtable to be ignored.
...
It caused config(1) to crash on the following assert() if the list was used.
This bug shows up after the recent change in files.c which fixed a memory leak.
pointed out by dogcow@
reviewed by cube@
2006-12-27 17:50:27 +00:00
rumble
ca581a2f34
Catch and report bus errors.
2006-12-27 15:56:26 +00:00
martin
f666b179b1
After discussing this further with uwe, rearange stack usage slightly and
...
replace a comment with words suggested by him.
2006-12-27 13:40:56 +00:00
yamt
431da137b1
- remove the rest of nqnfs.
...
- reject NFSMNT_MNTD and NFSMNT_KERB. (no users in tree.)
2006-12-27 12:51:22 +00:00
yamt
dae26da41f
remove the rest of Kerberos 4 code.
2006-12-27 12:43:10 +00:00
yamt
c3ad9e4929
remove now unused vnode::v_lease.
2006-12-27 12:22:14 +00:00
yamt
bb0e3db15a
sync with header changes. (nqnfs removal)
2006-12-27 12:13:55 +00:00
yamt
fa33174966
obsolete /usr/include/nfs/nqnfs.h.
2006-12-27 12:12:11 +00:00
yamt
ccfd2c0df0
remove nqnfs.
2006-12-27 12:10:09 +00:00
wiz
211f17ad46
Sort options in usage.
2006-12-27 11:28:59 +00:00
wiz
78cc844673
Sort options.
2006-12-27 11:27:37 +00:00
yamt
b9625c8fbe
oops, remove duplicated -D.
2006-12-27 11:08:30 +00:00
yamt
580a1898fe
revive -D option because it actually has some meanings for non-nqnfs mounts.
2006-12-27 11:05:04 +00:00
elad
8764325d83
Refactor a bit the ptrace(2) code: first make the keep-kernel-stable
...
decisions, then have a kauth(9) call for security policy enforcement,
and only then proceed to processing each request.
Add a KAUTH_PROCESS_CANSEE call right after pfind(). This should really
be done differently, so mark it with XXX.
2006-12-27 10:02:46 +00:00
yamt
a8552e41ca
mount_domount: don't forget to handle MNT_RDONLY.
...
PR/35327 from Christian Biere.
2006-12-27 08:55:35 +00:00
rumble
63c6a08fb6
Specify the member names of struct platform for clarity.
2006-12-27 07:45:11 +00:00
martin
e131201724
When converting FP exception codes, prefer overflow/underflow over
...
inexact result - this makes regress/lib/libc/ieeefp/except a bit happier.
2006-12-26 23:26:13 +00:00
ad
f87898b1c5
Signal masks are thread private, and there is no guarantee of the order in
...
which the two signal handlers in this test will execute, at least not beyond
SIGUSR1 being caught first, and SIGUSR2 being caught after that. One way
that it can fail erroneously is:
2 kill(getpid(), SIGUSR1)
2 Receive signal SIGUSR1
2 kill(getpid(), SIGUSR2)
1 Receive signal SIGUSR2
1 Exit handler
2 Exit handler
So if the handlers appear not to have run in sequence, at least verify
that they were run by different threads.
2006-12-26 20:29:03 +00:00
elad
74409752fc
Fix copy/paste error: Veriexec's sysctl setup routine was named after
...
PaX's.
2006-12-26 19:31:33 +00:00
rumble
d1139b199f
zskbd is unit 0, not 1.
2006-12-26 19:29:00 +00:00
rumble
0887b4b60e
Make backspace and control keys work.
...
XXX: Why does KS_BackSpace not do what we want? We're copying pckbd now...
2006-12-26 17:37:22 +00:00