Commit Graph

136519 Commits

Author SHA1 Message Date
jmc
6ae4f78197 Wrap call to fchroot in CONFIG tests so this doesn't blow up on cross-tools 2005-05-06 16:49:25 +00:00
augustss
32b8953874 Print a warning if no console keyboard was found in consinit(). 2005-05-06 14:03:55 +00:00
rearnsha
dd7174bb3e On ARMv5 reduce the value to the LSB before using CLZ. Otherwise we'll
calculate the position of the MSB not the LSB.
2005-05-06 09:50:25 +00:00
martin
e8c879147d In m_pulldown avoid a prepend to the next mbuf in the chain if the result
would still not have all data we want continous.
Fixes PR kern/30098.
2005-05-06 09:40:40 +00:00
hubertf
bd55168e81 Backout previous:
Don't recommend mounting /var and /usr nodev,nosuid
too many things may break.
2005-05-06 08:41:00 +00:00
elad
7f5f0c1f54 Change pseudo-device name from "verifiedexec" to "veriexec", as it appears
in majors.i386.
2005-05-06 04:42:24 +00:00
matt
89ba134744 Add #include <sys/protosw.h> when _KERNEL 2005-05-06 04:28:37 +00:00
matt
0b62b864cb #include <sys/protosw.h> if _KERNEL 2005-05-06 04:26:31 +00:00
augustss
6c154e88fd Move declaration of error variable to avoid 'unused' warning. 2005-05-06 00:10:00 +00:00
lukem
0d885c3aa4 Don't perform a check for "secure" tty for root logins when using PAM;
that is what we provide pam_securetty(8) for.

Fix the -DNOPAM build option by allowing it to compile
(even though we don't use this source file when USE_PAM=no).
2005-05-05 23:21:58 +00:00
lukem
f4ee085480 PAM may change the user name during the authentication process;
ensure that we deal with this so that SRA authenticated logins
will pass the changed user name to login(1).
2005-05-05 22:43:56 +00:00
abs
260edcc4db Fix for portuguese keymap '4' and '+' keys, from Rui Paulo 2005-05-05 22:31:13 +00:00
abs
5dabfd3095 Add ADB Portuguese (pt_PT) keyboard map, from Rui Paulo in PR/30126 2005-05-05 22:29:41 +00:00
abs
b82eaee723 Add USB Portuguese (pt_PT) keyboard map, from Manuel Pata via
Rui Paulo in PR/30041
2005-05-05 22:27:29 +00:00
augustss
3fefd3b866 Make sure all physical addresses are filled in the qTD even when we have
a page offset.

From Dan Ellis (as was the previous fix).
2005-05-05 20:54:34 +00:00
augustss
9a2e60d4f6 Make sure to honor the USBD_FORCE_SHORT_XFER flag and generate an empty
transfer when necessary.
2005-05-05 20:40:20 +00:00
christos
d7dd731e02 add dependall and realdepend to the targets that we need to call in the
beginning. XXX: The real fix (handle dependencies in .BEGIN) is forthcoming.
2005-05-05 18:03:04 +00:00
jdolecek
65c2c4e93f add advertising clause for Marshall M. Midden - updated afterboot(8) 2005-05-05 17:54:45 +00:00
christos
0a6f2d385f PR/30132: Juan RP: tar --chroot refuses to extract files.
fchroot() changes the effective path, so we need to call updatepath().
2005-05-05 14:54:49 +00:00
manu
b83e2b6cb3 Yet another NAT-T fix: don't forbid SP with ports in the policy 2005-05-05 12:08:24 +00:00
lukem
94b84ac8a2 Fix the check for insecure root logins in rootterm():
- It was originally referring to a bogus version of `line'.
  (problem solved by using 'extern char *line' instead of 'extern char line[]')
- It wasn't stripping the leading "/dev/" off `line' before calling getttynam(3)
2005-05-05 02:20:45 +00:00
yamt
ae24d5d705 - amap_extend: don't extend amap beyond UVM_AMAP_LARGE.
- uvm_map_enter: if we fail to extend amap, just give up merging instead of
  bailing out immediately.
2005-05-05 01:58:51 +00:00
lukem
2bfc59a549 use _PATH_DEV instead of "/dev/" 2005-05-05 01:28:57 +00:00
yamt
192e24a575 uvm_reclaimable: add an XXX comment. 2005-05-04 23:23:28 +00:00
yamt
535bef076f move l_private and l_locks so that they're initialized. 2005-05-04 23:22:44 +00:00
hubertf
4e39658f8e * Sync in a few changes from OpenBSD's latest version of this file
* Add licence by Marshall M. Midden
 * Various minor edits and additions.
2005-05-04 20:54:25 +00:00
hubertf
71be6dfd96 No devices on /usr -> mount -o nodev
No setuid programs in /var	-> mount -o nodev,nosuid

Adding "noexec" in various places may cause too much damage
(e.g. for running DEINSTALL scripts from /var/db/pkg, configure
scripts, etc).

Inspired by OpenBSD's afterboot(8) manpage.
2005-05-04 18:26:14 +00:00
wiz
f87b18d32d libevent-1.0e out. 2005-05-04 17:46:16 +00:00
manu
63a609062e From Manisha Malla <mmanisha@novell.com>:
fix unsigned int checked for being negative
2005-05-04 17:23:10 +00:00
martin
21d2a323b7 Make ffb take part in the /dev/fbN circus. 2005-05-04 14:38:44 +00:00
augustss
5581662866 Document WSKBD_EVENT_AUTOREPEAT. 2005-05-04 10:54:51 +00:00
martin
d261be07a4 Ansify. 2005-05-04 10:01:32 +00:00
cube
2646bcff54 Regen. 2005-05-04 09:12:14 +00:00
cube
20ade2184e Add a few devices seen on a Dell PowerEdge SC1420, and while there make the
ordering of devices proper.
2005-05-04 09:11:09 +00:00
hamajima
3b181f4dc0 OptPoint on Telios HC-AJ2 (and maybe AJ1) support 2005-05-04 07:54:39 +00:00
martin
b49b573121 Use ansi function header style consistently. 2005-05-04 06:38:06 +00:00
perseant
0d41dd0d46 Don't let the pager_map deadlock avoidance code in lfs_putpages() write
segments containing zero-block FINFO records.  These records cause segments
to become uncleanable, which would eventually result in a "no clean segments"
panic.
2005-05-04 04:58:22 +00:00
augustss
8abde347bd Mention PCKBD_CNATTACH_MAY_FAIL, but don't define it. 2005-05-04 02:40:55 +00:00
augustss
e1ecf19d60 Explain PCKBD_CNATTACH_MAY_FAIL. 2005-05-04 02:39:19 +00:00
augustss
5b6d2a575d Make an new option PCKBD_CNATTACH_MAY_FAIL. When this option is set and no
keyboard is detected the pckbd keyboard is not used as the console.

Previously the pckbd keyboard was used as the console as soon as the
kernel had it configured into the kernel.  This is far from ideal on a
machine that has no PS/2 keyboard, but a USB keyboard attached since the
(non-existant) PS/2 keyboard becomes the console instead of the USB keyboard.

For now this option will be off by default to be backwards compatible.
2005-05-04 02:35:22 +00:00
augustss
22506e27d1 When audioclose is called it's the last close of the device, so there
is no need to fiddle with resetting individual bits.  Just clear them.
2005-05-04 01:57:23 +00:00
augustss
93dd7186b9 Mention WSKBD_EVENT_AUTOREPEAT.
XXX All the WS options need to be added to options(4).
2005-05-04 01:55:24 +00:00
augustss
1710458cee Make auto repeat of events a compile time option, and have it off by default.
Turn on by WSKBD_EVENT_AUTOREPEAT.
2005-05-04 01:52:16 +00:00
christos
c9da1629b6 Mark the interrupt job as special so that when we hit ^C with -j and we
have a .INTERRUPT target we don't print "token botch".
2005-05-03 22:58:14 +00:00
manu
8bf053b3f3 on phase 2 acquire, lookup phase 2 by (src, dst, policy id) so that
multiple SA can be used in transport mode

While I'm there, patch ipsec-tools ChangeLog to reflect the changes we
took from ipsec-tools-0_6-branch
2005-05-03 21:08:47 +00:00
macallan
93548a84e7 added missing files cg6_cursor.c, cg6_accel.c and missing include path for xaa 2005-05-03 20:52:50 +00:00
jonathan
f36cdf86c7 Fix ifdef botch in previous revision:
The `Static' forward declaration of ukbd_rawrepeat was inside #ifdef
UKBD_REPEAT but not #ifdef DISPLAY_COMPAT_RAWCKBD. The definition and
all other references are inside both #ifdefs.  The `static' function
declaration with no definition failed GCC warnings.

Pass GCC warnings by wrapping  the declaration with a check that both
CPP tokens are defined.
2005-05-03 18:37:46 +00:00
manu
89647c7ca6 First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.
2005-05-03 16:26:27 +00:00
bsh
6c6d96d112 dependencies for .BEGIN is not accepted by the latest nbmake. 2005-05-03 14:51:42 +00:00
martin
b68faae566 Add wsmux and wsfont pseudo devices. 2005-05-03 14:48:52 +00:00