Commit Graph

139757 Commits

Author SHA1 Message Date
elad ec14f2d11e Introduce ``security.curtain'', new node for security features and
settings, and new variable for controlling access to objects based
on user-id.
2005-09-07 16:26:15 +00:00
elad 15b43e830c Introduce CURTAIN(user_id, object_id) - a macro that essentially checks
if user_id is either 0 or equals to object_id. We don't always have a
struct ucred to use, so we need this at the very basic level.
2005-09-07 15:11:54 +00:00
is 8750386a4d Allow for \H -> "address ..." substitution in PIPE ports. Useful
e.g. for generic UUCP over SSH or SSL... Idea and part of the patch
by Joerg Durchain, has apparently been integrated in Debian for a
while.
2005-09-07 12:38:16 +00:00
tshiozak 3d40ace0a6 attach tables to CP932<->UCS mappers for NEC-defined VDC zone. 2005-09-07 07:17:59 +00:00
dogcow 52dfe86ca8 With the assistance of dyoung, fix the following problems:
* some 8180L cards need a longer time for the srom to initialize; patch
  suggested via OpenBSD.
* some cards give '0' for USA, some give '3'; for the meantime, accept both
  as being USA locale cards.
* this is RTW, not ATW. :)
2005-09-07 05:25:41 +00:00
dogcow e9e04d00b0 add SiS id 0x0457 2005-09-07 01:34:19 +00:00
christos ad2ddf6d2d Revert previous accidental removal of -DINET6 2005-09-06 23:27:33 +00:00
christos 12184b6c26 Revert inappropriate -D additions. 2005-09-06 23:25:54 +00:00
reinoud 04d00c8e39 Cleanup and fix cd_size() function; it was returning wrong results.
Also factor out read_cd_capacity()
2005-09-06 22:19:14 +00:00
aymeric f4cc8f97e3 make the "tags" target work again by using the common trick of splitting some
of the arguments to ctags using echo start-of-xxx | xargs ctags rest-of-xxx
2005-09-06 21:57:47 +00:00
aymeric 377bb2d9d8 bump to nb15:
. we now handle ^C correctly in all cases
. blanks and alnum chars are ignored in the shellmeta option, as the code
  brokenly said it should
. \ can be used to escape any (special) character in file names
2005-09-06 21:54:10 +00:00
aymeric 44208cd8f1 In argv_exp3() where we cut a line into args, check for '\' as the escape
character instead of using the IS_ESCAPE() macro which tests for ^V because the
former is mandated by the standards, and the latter is insane.
This is a very small part in addressing PR bin/26046 by lukem@.
Before, in order to escape a special character, you had to use a literal ^V,
which is type ^V twice before the character; whereas now, you use \.
Because the fix will remain partial for a while, you have to remove \ from
your shellmeta option otherwise the \ is swallowed by the invoked shell that
handles arguments expansion.
Please complain if you want ^V^V to also work, but please don't call me a
heretic.
2005-09-06 21:50:51 +00:00
kleink aece7a90fd Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
kleink 6fa3ab87b7 Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.

Also, dispose of a redundant (and unreachable) instance of that check.
2005-09-06 21:36:54 +00:00
aymeric 3065f3379c From code inspection, nvi had the undocumented and non-working functionality
of ignoring alphanumerical and blank characters from the shellmeta option.
The former code was using a character pointed to by a pointer as a boolean
to check whether to enable this functionality, but in the meantime the pointer
was used for something else. Introduce a variable for this boolean so that
the functionality actually works.
2005-09-06 21:36:10 +00:00
aymeric 0eceae0438 Finally handle ^C the correct way. This indeed requires to separate the case
of text-recording input (usually text in insert mode) from the other cases
(e.g. ex command input). If recording, morph to escape key so that the input
is correctly finished for a potential replay; if not, simply bail out and
notify that something wrong occurs. Callers will cope.
The previous fix could make ^C sometimes produce a file completion
or a command edition, depending on the settings of the user.
I think this is the correct fix for since closed PR bin/11544 by pooka@. ;-)
2005-09-06 21:30:36 +00:00
aymeric 68d2948889 when reading an ex command within visual mode with v_tcmd(), check that
the termination value of v_tcmd() is alright. Abort the command otherwise.
Until the next commit in vi/v_txt.c, this is a noop.
2005-09-06 21:21:25 +00:00
kleink bdfc943920 Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.

Also change this to use the proc argument instead of curproc.
2005-09-06 20:46:38 +00:00
kleink 1020316c01 Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.

Also, dispose of a redundant instance of that check.
2005-09-06 20:24:01 +00:00
kleink 54281f5ccd Typo. 2005-09-06 20:12:43 +00:00
rpaulo 6733d4dc7b Change 'headers' to 'network layer headers' as suggested by Tetsuya Isaki. 2005-09-06 19:18:41 +00:00
kleink e2cef34883 signed -> __signed 2005-09-06 19:18:23 +00:00
christos 99c8f5662d Change ino_t to u_int32_t for compatibility with the current dump/restore
format. Unfortunately this means that all dumps taken from the time of
the 64 bit inode changes (August 16th) will become unreadable with this
commit. To make them readable again, you can back-out this commit temporarily.
Please note, that I am not adding 64 bit inode support to the format on
purpose right now, because supporting 64 bit inodes on-disk will require
additional changes, and it is more appropriate to add such support then.
2005-09-06 17:03:59 +00:00
tsarna da085b10b3 Allow reception of VLAN sized frames. From FreeBSD.
Reviewed by cube.
2005-09-06 15:42:21 +00:00
simonb b665007462 Include <sys/systm.h>; needed for printf() and strcmp() in the
non-DEBUG case.
2005-09-06 12:22:43 +00:00
jmmv 86e1067af8 Set va_type to VLNK before calling VOP_SYMLINK to match the change in the
vfs_syscalls.c file.  Pointed out by yamt@.
2005-09-06 09:36:28 +00:00
rpaulo dcc35c7ff8 Handle net.inet.tcp.debug, net.inet.tcp.debx, net.ns.spp.debug and
net.ns.spp.debx. Bump man page date.
2005-09-06 03:22:58 +00:00
rpaulo 8dd8736f37 trpt(8) no longer needs to be installed setgid kmem. 2005-09-06 03:05:15 +00:00
rpaulo 3bbe36c3d8 Update for the recent changes of trpt(8) and describe the sysctls.
Bump date.
2005-09-06 03:04:49 +00:00
rpaulo 7c18197a2e If reading values from a live system use sysctls net.tcp.inet.(debug|debx)
and kern.hardclock_ticks. Also, remove the set*gid() calls.
2005-09-06 03:04:15 +00:00
rpaulo a55d13d962 trsp(8) no longer needs to be sgid kmem. 2005-09-06 03:00:49 +00:00
rpaulo cbef7237e8 Update for the new changes of trsp(8) and describe the sysctls.
Bump date.
2005-09-06 03:00:30 +00:00
rpaulo 1f649eba90 If reading values from a live system, use sysctls net.ns.spp.(debug|debx). 2005-09-06 02:58:48 +00:00
rpaulo 67a0c36218 Correct SYSCTL_DESCR for tcp.debx. 2005-09-06 02:57:04 +00:00
rpaulo 49cb186c8e Implement the net.ns.spp sysctl subtree with only two children:
net.ns.spp.debug and net.ns.spp.debx. They will be used by trsp(8).
2005-09-06 02:52:38 +00:00
rpaulo 4ea601be16 Rename the 'wakeup' variable to 'reaswakeup' so that it doesn't colide
with the wakeup() function defined in sys/proc.h.
2005-09-06 02:44:55 +00:00
rpaulo 37cbe61e67 Implement tcp.inet{,6}.tcp{,6}.(debug|debx) when TCP_DEBUG is set. They
can be used to ``transliterate protocol trace'' like trpt(8) does.
2005-09-06 02:41:14 +00:00
rpaulo f305bcafe3 Implement kern.hardclock_ticks. 2005-09-06 02:36:17 +00:00
dogcow 12c72179ee after discussion with dyoung, add rtw* at cardbus 2005-09-06 02:03:52 +00:00
dogcow 4ec2f95af9 make rtw.c compile again after the 22-jun-05 net80211 import 2005-09-06 01:59:26 +00:00
rpaulo f8bcc940fb Wrap two big lines. 2005-09-06 01:05:38 +00:00
rpaulo db74a52bff ANSI func. decl. and de-P(). 2005-09-05 23:17:08 +00:00
riz 1ea801e91a Fix typo in comment from previous revision. 2005-09-05 22:55:31 +00:00
yamt 545c75e39d d_namlen is now 16-bit. 2005-09-05 21:58:38 +00:00
yamt f5a548d35d sync with kernel. 2005-09-05 21:57:35 +00:00
yamt af9e3184f8 prevent sa_setconcurrency before sa_enable, rather than crashing.
(savp_lwp is still null at that point.)

noted by skrueger at meinberlikomm.de.
2005-09-05 21:52:38 +00:00
reinoud d462489ea5 Implement DIOCCACHESYNC for SCSI/ATAPI cd/mmc recordable devices found by
scsipi/cd.c by issueing the SYNCHRONISE CACHES scsi/atapi call as defined
per MMC standard.
2005-09-05 21:16:24 +00:00
bouyer 9c2d1acf94 Use a pmatch(9) expression which should catch all present and future
seagate drives larger than 200GB for the WD_QUIRK_FORCE_LBA48 quirks.
Based on infos from
http://www.seagate.com/support/kb/disc/howto/interpret_model.html
2005-09-05 21:09:08 +00:00
dsl 7dfd3d6a2d Add a SMALL dmesg, should allow KERNFS to be removed 2005-09-05 20:58:35 +00:00
dsl 857f572e1b Make is worthwhile haveing #ifdef SMALL by making the Makefile set it when
SMALLPROG is defined (eg by src/distrib/commonMakefile.crunch).
Shrink SMALL version even more.
2005-09-05 20:56:41 +00:00