Commit Graph

154726 Commits

Author SHA1 Message Date
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
elad 0ffd2bf379 Adapt to recent machdep scope changes.
Pointed out by Kouichirou Hiratsuka, thanks!
2006-12-26 16:42:06 +00:00
ad e96fca7884 Define ipl_t as uint8_t so that it can be packed into a word with a lock
byte. Ok yamt@.
2006-12-26 15:22:44 +00:00
yamt 90b1120ae3 ufs_readdir: start from offsets known to be valid,
rather than assuming users feed us valid offsets.
2006-12-26 14:50:08 +00:00
tsutsui 03841e683e Wrap a sanity check in re_newbuf() with #ifdef DIAGNOSTIC and
make it fatal on failure.
2006-12-26 13:45:43 +00:00
tsutsui 91031286e2 Use __predict_false() in several conditionals. 2006-12-26 13:40:58 +00:00
yamt 42489b9a68 - shorten the period to modify mnt_flag temporarily.
- desupport MNT_EXPORTED without MNT_UPDATE explicitly.
- fix a comment.
- unwrap short lines.
2006-12-26 12:39:01 +00:00
martin e404fd2fc6 Make the DDB_TRACE variant compilable 2006-12-26 12:28:31 +00:00
elad 504c71d9fe Make machdep scope architecture-agnostic by removing all arch-specific
requests and centralizing them all. The result is that some of these
are not used on some architectures, but the documentation was updated
to reflect that.
2006-12-26 10:43:43 +00:00
elad 7e1cc3fd07 Elaborate on SSP.
Requested by and okay wiz@.
2006-12-26 10:24:53 +00:00
elad 8daca39031 Fix a comment. No functional change. 2006-12-26 08:55:32 +00:00
elad ff39342b33 veriexec_lookup() should not return an internal data-structure, but rather
just a boolean value.
2006-12-26 07:50:40 +00:00
rumble 4bbcf8f210 Add type for sgimips/light(4). 2006-12-26 05:54:00 +00:00
rumble a942babab1 Add light(4). 2006-12-26 04:44:54 +00:00
rumble 62b7bdb3b6 Add a page for LG1/LG2 graphics. Add xrefs. 2006-12-26 04:43:10 +00:00
rumble 78f4031e6d Bring in support for the SGI Light/Entry/Starter LG1/LG2 framebuffers
found in Indigo systems.
2006-12-26 04:28:16 +00:00
alc 1d470e84d6 fix whitespace nits (space -> tab) 2006-12-26 00:13:24 +00:00
alc 9594e8adae CID-4284: check for 'kup != NULL' after kmem_zalloc() returns 2006-12-26 00:10:40 +00:00
alc b68a85a32f CID-4282: dies if we can't allocate memory for `peer->hba'
CID-2488: `t' is uninitialized
2006-12-26 00:08:44 +00:00
alc 2f403ebe4f CID-4275: don't leak `fixdevmtab' 2006-12-26 00:07:18 +00:00
alc a740eb5ac0 CID-4268: `c' is EOF here, remove deadcode 2006-12-26 00:06:03 +00:00
alc bdf6fc4f47 CID-4167: check for 'iph1->approval != NULL' 2006-12-26 00:04:00 +00:00
alc 8ffa4fbf16 CID-3855: check if 'kfs->kfs_kt != NULL' before dereferencing it 2006-12-26 00:01:48 +00:00
alc 86e5639788 CID-3819: `n' is always NULL here, remove dead code. 2006-12-26 00:00:22 +00:00
alc 9254207181 CID-3667: check if 'mtag != NULL' before dereferencing it 2006-12-25 23:58:36 +00:00
alc 0fd99769e3 CID-3224: check the return value of strtok() before use
ok christos@
2006-12-25 23:55:47 +00:00
elad 6be473ba20 Don't reference userspace pointers. 2006-12-25 22:03:42 +00:00
martin 520e5c8f6a When setting up the __clone()'s userland stack, make sure to allocate
an initial frame. Fixes PR 33075.
2006-12-25 21:44:37 +00:00
wiz 2957444796 Fix some typos in ENIAC quote. From Zafer Aydogan and myself. 2006-12-25 18:46:48 +00:00
wiz 8b9e9aa69d Spell "weird" correctly. From Zafer Aydogan. 2006-12-25 18:45:35 +00:00
christos b01c8fbc21 From Anon Ymous
1) Add support for message selection based on the message body.  The
pattern matching is done on the MIME decoded body as would be seen by
the print command.

2) Don't hook editline when doing headers only: that mode is never
interactive and it messes up piping if output is redirected to a
command that expects tty input, such as 'more'.
2006-12-25 18:43:29 +00:00