Commit Graph

139727 Commits

Author SHA1 Message Date
drochner 1797f37c06 fix parsing of some informational CIS tuples: correct length and handle
the case correctly where a string is terminated with 0x00 0xff
2005-09-08 15:02:48 +00:00
drochner 241cff4694 make use of the locator information: print "?" if a locator is
at its default value, and accept "?" in the "change" command
2005-09-08 14:58:14 +00:00
drochner 36439c322f namespace sanity: no need to include <sys/device.h> 2005-09-08 14:50:02 +00:00
kochi 564279b53d ACPI-CA 20050902 is out 2005-09-08 11:46:21 +00:00
tshiozak 3095745573 change OOB_MODE to INVALID; this mapper is only used to be layered on
other mappers, thus ILSEQ is irrelevance.
2005-09-08 09:40:20 +00:00
christos a531e09eeb Revert incomplete (and possibly incorrect) sys_sa_preempt implementation
that I committed accidentally with the 64 bit inode changes.
2005-09-07 23:31:06 +00:00
wiz 7d78da60b6 groff-1.19.2 is out. 2005-09-07 23:24:54 +00:00
drochner 14071aa79e fix an obvious mistake where the original instruction
is restored after a simulated single-step,
also use VM_PROT_ALL to get maximal permission for patching
instructions instead of VM_PROT_DEFAULT whose semantics
are not that defined
2005-09-07 20:28:08 +00:00
drochner caf67252d3 sync with next68k: include <sys/devive.h> explicitely because this is the
documented header for "evcnt" stuff
(should be separated, later)
2005-09-07 19:58:12 +00:00
drochner 8311fb86aa namespace sanity: don't expose compatibility sigcontext stuff
unnecessarily
2005-09-07 19:42:51 +00:00
drochner 41f06eac8c include machine/intr.h only in the _KERNEL case, as
most other ports do.
(In the -KERNEL case, it is needed because the spl*()
stuff ought to be pulled in by <sys/param.h> per the
manpages.)
This saves some namespace headaches.
2005-09-07 19:39:51 +00:00
drochner 9e7bc072c7 namespace sanity: kill includes which are not
used directly
2005-09-07 19:35:37 +00:00
drochner 0ffd1b3340 include <sys/devive.h> explicitely because this is the
documented header for "evcnt" stuff
(should be separated, later)
2005-09-07 19:33:20 +00:00
elad d8a0e22d8a Adjust comment. Noted by Rui Paulo. 2005-09-07 19:15:49 +00:00
elad f777d75b5c Catch up with 64 bit inode changes. 2005-09-07 19:04:57 +00:00
elad d1e2d78dee Use ``l'' and not ``curlwp''. Thanks to Peter Postma for catching this. 2005-09-07 18:06:04 +00:00
elad 348574574d Implement curtain for AF_INET{,6} PCB lists. 2005-09-07 17:58:13 +00:00
elad fb3e9eee95 Implement curtain for AF_LOCAL PCB lists. 2005-09-07 17:38:44 +00:00
elad bc433a82fb Implement curtain in KERN_{PROC,PROC2,FILE,FILE2,PROC_ARGS}.
While I'm here, disable curtain by default.
2005-09-07 17:30:07 +00:00
elad 31681c214e Should check if curtain is enabled before doing the user-id check. 2005-09-07 17:27:55 +00:00
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