Commit Graph

9684 Commits

Author SHA1 Message Date
christos a686e4e754 back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
christos 4b3df4502b Improve dh's fix:
- make sure i is initialized
	- don't subtract 1 in comparison, add 1 to the other side
2008-02-15 20:08:11 +00:00
dholland cb84a8637d fix typo in comment 2008-02-15 09:18:56 +00:00
dholland a9c8da72a1 Avoid SIGSEGV caused by signed/unsigned mismatch. (hi xtos) 2008-02-15 08:55:31 +00:00
christos e654b454bc remove error/noerror const 2008-02-15 02:50:53 +00:00
christos 649f359b39 fix != expansion bug I introduced. 2008-02-15 02:38:07 +00:00
christos 4d9d6704c1 - symbolic names for error and no error
- more size_t
2008-02-15 02:37:51 +00:00
christos 2b28370627 - use pid_t/size_t as appropriate instead of int.
- use %ld to print pids.
- fix a bit of lint.
- WARNS=4
2008-02-14 22:11:20 +00:00
christos 64059bbbda PR/38017: Greg A. Woods: rpcinfo -s broke after coverity fixes. 2008-02-13 16:15:18 +00:00
dyoung d4f4828ee0 Do not #include <sys/device.h> from userland. 2008-02-11 22:43:39 +00:00
dyoung 4ef6fc056a #include <sys/evcnt.h> instead of <sys/device.h>, since the former
is sufficient, anyway.  Do not needlessly #include <sys/device.h>.

Note well: device_t is not part of the kernel ABI.
2008-02-11 03:51:17 +00:00
ragge eb30206a9f Adapt to new import of pcc. 2008-02-10 20:32:25 +00:00
jmmv be1e5d770b Always test MKMODULAR with != "no". Requested by mrg@. 2008-02-10 08:21:25 +00:00
jmmv 4e4a76c0c4 Do not descend into modstat if MKMODULAR is set. 2008-02-09 19:33:17 +00:00
mlelstv 5c1a4dd94c Fix a segfault when doing 'stat -f %R' on the stdin file handle, instead
fake the filename '(stdin)' like the %N format.
2008-02-09 09:18:07 +00:00
joerg bcdbb8101f Print the complain about random stuff after empty only once. 2008-02-07 00:49:38 +00:00
joerg c8bc46c4bc Warn for constructs like
.if empty xxx(foo)
which are interpreted as
.if empty(foo)
or
.if empty (foo)

This is based on rillig's commit to pkgsrc/devel/bmake, but doesn't warn
for the third case. Discussed with sjg.
2008-02-06 18:26:37 +00:00
yamt b895a23e56 fix a typo(?) in rev.1.34, which causes NULL dereferences. 2008-02-06 15:31:42 +00:00
joerg a570300f03 Be pedantic and use unsigned int here as uwe@ suggested. 2008-02-05 16:39:26 +00:00
joerg 75ce084b15 Merge from pkgsrc's bmake: don't use signed short for bitfields.
This makes IBM xlc happy.
2008-02-05 15:11:50 +00:00
christos 0523aae770 PR/37954: Thomas Klausner: "tail -c 2" broken.
It is not tail -c 2 but most of tail -c <n> with pipes. Fix by Anon Ymous
2008-02-04 16:23:11 +00:00
christos 1d50c3e36a add gettytab 2008-02-04 15:30:44 +00:00
christos a1232e4db1 Add more undocumented capabilities to the *cap printing. 2008-02-02 20:57:20 +00:00
christos ebcc6ba679 handle cap style databases. 2008-02-01 22:39:20 +00:00
erh 570958013a Clarify what the format section of the cap_mkdb man page is talking about. 2008-01-31 04:00:54 +00:00
christos 5c8db85ac9 wait for 15 seconds, not 15 microseconds. 2008-01-25 19:54:40 +00:00
christos 787a0bbadb minor lint 2008-01-25 19:36:27 +00:00
christos 1b761c7278 PR/37863: Wolfgang Stukenbrock: yp_passwd command may destroy NIS database entries when used on a server that includes users via netgroups 2008-01-25 19:36:12 +00:00
christos 2d1f1d1dae PR/37862: Wolfgang Stukenbrock: ypwhich uses only UDP and not TCP 2008-01-24 23:56:55 +00:00
ad 703069c0e9 specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to reference a single device.

- Don't play dangerous tricks with block vnodes to ensure that only one
  vnode can describe a block device. Instead, prohibit concurrent opens of
  block devices. As a bonus remove the unreliable code that prevents
  multiple file system mounts on the same device. It's no longer needed.

- Track opens by vnode and by device. Issue cdev_close() when the last open
  goes away, instead of abusing vnode::v_usecount to tell if the device is
  open.
2008-01-24 17:32:52 +00:00
dyoung 5448ecad57 #include <stdbool.h> for 'bool', so that this kernel groveller will
hopefully compile again.
2008-01-21 20:34:13 +00:00
lukem 69b443d18c Turn off the alarmtimer before resetting the SIGALRM handler back to SIG_DFL.
Fix from dieter roelants <dieter.NetBSD@pandora.be>
Should fix PR 35630.
2008-01-21 10:31:28 +00:00
hubertf 3618b9ac2c It's RPCGEN_CPP, not RPCGEN_RSH
Pointed out on tech-userlevel by Anthony Mallet <anthony.mallet@useless-ficus.net>
2008-01-19 14:22:05 +00:00
sjg 807aff24d0 Implement -dl (aka LOUD) to override '@' at the start of script lines.
Based on supplied patch.

PR: 37202
2008-01-19 06:52:13 +00:00
ginsbach 9470f2d15c Fix problem with handling escaped octal and hexadecimal sequences in the -f
format option.  The problem is that the next character after such an escape
was not copied to the output.
2008-01-18 16:16:10 +00:00
jschauma 595e87e328 add an paragraph before listing of options 2008-01-18 01:50:11 +00:00
yamt 0116b931c2 sync with kernel. (make some mbuf related statistics per-cpu.) 2008-01-17 14:53:18 +00:00
tls 2a6850b9a9 Fix PR37377 from Devon O'Dell: num_menus can be referenced without being
emitted if dynamic menus are not enabled.
2008-01-16 09:21:33 +00:00
christos e451ddaaa8 - Make the msdos and non-msdos cpp handling use the same variable $RPCGEN_CPP
instead of one using $CPP and the other using $RPCGENCPP, following suit with
  RDIST_RSH, CVS_RSH, etc. and document it.
- make the msdos environment variable take precedence over path search.
2008-01-15 20:04:48 +00:00
rmind 5c71a4d49f Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
yamt bfc70617c5 mbpr: fix a harmless bug. (sizeof pointer -> sizeof *pointer) 2008-01-14 12:56:05 +00:00
mkirby bb55aebb4f Fix a small grammatical error. 2008-01-12 21:05:13 +00:00
dholland cbae618808 sizeof(char) is always 1. Conversely, however, CHAR_BIT is not always 8.
reviewed: mrg
2008-01-12 05:49:46 +00:00
lukem cd2d88332f Don't bring in -lutil for tools. 2008-01-11 00:38:10 +00:00
simonb ccab3b34ce Remove support for NetBSD/pc532. 2008-01-10 13:40:36 +00:00
lukem d7382668ef Convert to using raise_default_signal(3). 2008-01-10 05:15:07 +00:00
lukem e4952757b6 Convert to raise_default_signal(3). 2008-01-09 05:48:58 +00:00
reed e25157a1c9 Sort a command. It was was renamed in 1.113 but not resorted.
(I noticed when reading man page but didn't quickly find what I was
looking for.)
Also add a missing period.
2008-01-08 15:28:31 +00:00
apb 74bc6bcb6f Add more detail in comments about maximum size of environment and
arguments passed by xargs(1) to execvp(2).  Research done while
investigating PR 37666, which is not a problem in -current.
2008-01-07 08:20:52 +00:00
christos 03f11859f6 don't show cpu number on single processor machines for the threads display too. 2008-01-06 19:59:22 +00:00