Commit Graph

155916 Commits

Author SHA1 Message Date
elad 4a0f293388 revert previouses 2007-02-08 05:54:25 +00:00
junyoung 9641e3f094 ANSIfy. 2007-02-08 05:44:18 +00:00
pooka f7a084b3b0 Nm the manual puffs instead of libpuffs 2007-02-08 05:24:36 +00:00
pooka 82b88def96 chuq shone arcane wisdom on me: b_bcount comes in, b_resid goes out 2007-02-08 05:09:25 +00:00
junyoung 19690e9aea Nuke __P. 2007-02-08 05:07:23 +00:00
pooka b7a2d4ecbb Don't block and wait for file server response in case strategy is
run in pagedaemon context: it gives the file server way more control
over the fate of the entire kernel than what we're comfortable with.
2007-02-08 04:52:23 +00:00
elad d261ef686a Plug leak "that can never happen". 2007-02-08 04:22:27 +00:00
tls 4977bdb149 Remove 'l'. Those who do not learn from history are doomed to repeat it. 2007-02-08 03:57:53 +00:00
riz 35ed82b748 Add disk-info properties to ld(4), based on Jason Thorpe's similar
code in wd(4).

OK ad, cube
2007-02-08 03:19:42 +00:00
elad d1a83ca2d5 Add a comment indicating why this program is installed 0550, as suggested
by christos@. The comment reads:

	# This program is set 0550 because, as security(8) states, it has
	# the potential to deplete kernel memory, under certain conditions.
2007-02-08 02:59:51 +00:00
elad db9dbd11ac Install paxctl(8) as 0550. 2007-02-08 02:25:44 +00:00
elad 83ec1c0544 Better intro to exploit mitigation features, also add a TOC for it. 2007-02-08 00:38:27 +00:00
elad 24d02b5648 style nit 2007-02-08 00:26:50 +00:00
tls d8ec0012f2 fix bug 2007-02-07 22:17:46 +00:00
tls de788b88f5 Many users needlessly maintain the alias 'l' (or 'll') for 'ls -l'. We
should ease the burden on our users and supply a default system which is
modern and has a full complement of the features they expect (or even some
they don't -- more features don't hurt any one after all).

Suggested by perry@ in <87wt2uxhbx.fsf@snark.piermont.com> and submitted
for discussion to some NetBSD developers, who suggested that rather than
my own idiosyncratic 'll', 'l' was a much better name.

It may prove possible to merge this code with 'ls' in the future.
2007-02-07 21:56:07 +00:00
tls d6cabf29ac Initial import of colorls to add 'l' functionality to system. 2007-02-07 21:43:44 +00:00
oster 5422c82afe Add "local" versions of getnetgrent() et al. and now call those for the NIS
versions.  Fix conditional compilation issues with YP and NSS_FILES.
2007-02-07 19:12:44 +00:00
rmind ea2709ce49 PR/28458: shmat(2) shmaddr argument is not honored as intended.
Patch applied, thanks for Minoura Makoto.

Please note, that one should fail if cannot attach to shmaddr,
but not attach it to other place.

OK by uwe@
2007-02-07 18:45:36 +00:00
cbiere d5ed210dc4 Use '-o' instead of '-or' for find, the latter is a non-portable extension.
Reported by Raymond Meyer.
2007-02-07 17:49:23 +00:00
drochner 10527a675c regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-07 16:52:31 +00:00
njoly 835e659d6b Regen (poll argument fix). 2007-02-07 15:35:00 +00:00
njoly 398ec1833a Use netbsd32_pollfdp_t instead of wrong `struct pollfd *'.
ok by manu.
2007-02-07 15:32:52 +00:00
hubertf 79b63fa656 #include inttypes.h, for strtoimax(3).
Suggested by Slava Semushin <slava.semushin@gmail.com> in private email.
2007-02-07 15:21:21 +00:00
rmind 6357560bab Add rmind@ 2007-02-07 15:17:01 +00:00
hubertf 6df5e55489 Remove unused ctype.h header.
Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:20:58 +00:00
hubertf 4442954cb6 * Remove unused header ctype.h
* Remove __P

Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:11:30 +00:00
hubertf 1a7e106bf0 * Remove unneeded ctype.h
* remove unneeded {}s
* add some whitespace for readability

Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:06:57 +00:00
njoly e7544f933f compat linux32 depends on compat netbsd32, and thus needs
EMUL_FLAG_NETBSD32.

ok by manu
2007-02-07 13:58:12 +00:00
is f059843a6c MosChip IrDA bridges 2007-02-07 10:30:19 +00:00
elad 01b9a124ad - Properly autocreate tables,
- Properly track number of used slots in the table,
- Track number of "assocs" per entry.
2007-02-07 09:38:04 +00:00
elad 3d8c2eee5f Add comment referring to kvm_proc.c. 2007-02-07 08:04:48 +00:00
dyoung 9d8de20b22 Add a license. 2007-02-07 07:28:29 +00:00
wiz cc97ec4b3c Drop trailing whitespace, remove superfluous Pp. 2007-02-07 06:47:33 +00:00
wiz cc2a6c83d0 Drop trailing whitespace. Uppercase Dt argument. Add RCS Id.
XXX: missing license.
2007-02-07 06:46:06 +00:00
wiz 9000cdc5de Bump date for previous. 2007-02-07 06:41:50 +00:00
elad 2ddc81b57b Add missing ')'. Noted by Paul Goyette. 2007-02-07 05:54:42 +00:00
riz 3ba975dea2 Fix off-by-one error in the creation of dk(4) device nodes. 2007-02-07 03:01:13 +00:00
wiz 0a06354421 Correct default firmware path. Add xref to firmload(9).
Bump date.
2007-02-06 23:42:34 +00:00
wiz 303b003785 Add xref to firmload(9). Prompted by dillo. 2007-02-06 23:40:32 +00:00
skrll a815b70d5c G/C hp{pa,700}/spinlock.h 2007-02-06 21:59:24 +00:00
dyoung df51b53ccc Create /dev/cmos. 2007-02-06 21:27:43 +00:00
elad eb3ad821f0 PR/35506: Chuck Silvers: ps doesn't work on crash dumps, libkvm doesn't
know about kauth

Implemented _kvm_convertcred() to handle copying kauth_cred_t to userspace
and converting it to the appropriate 'struct eproc' members ('pcred' and
'ucred' respectively).

Okay mlelstv@.
2007-02-06 21:21:51 +00:00
bouyer 0ce1424e8f in ufs_dirremove swap ep->d_reclen before use if needed (affect UFS_DIRHASH
only).
While there remove an unneeded swap before compare against 0 in ufs_direnter().
Both pointed out by Pawel Jakub Dawidek on tech-kern@, thanks !
2007-02-06 20:49:20 +00:00
dyoung 430441ebbd Add a device major for cmos(4). 2007-02-06 20:38:36 +00:00
cbiere 033e1229b9 Revert previous commit. 2007-02-06 20:24:19 +00:00
drochner 310805bbe6 regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-06 17:32:29 +00:00
drochner a981c4eb78 add the isgreater() at al. comparision macros defined in C99 and SUSv3;
use just the primitive macros for now (identical to FreeBSD/DragonFly)
which don't use gcc internals, the rest can go in after some testing;
addresses PR standards/25520
2007-02-06 17:29:37 +00:00
reed e8146d3cc6 Don't say the script is run "by default" because it is not.
Also mention that it is disabled.
2007-02-06 17:17:47 +00:00
elad 97d944e80d Use 0555 for the real tmp dir for now. 2007-02-06 16:54:27 +00:00
perry 9cf20bf4dc make -rm an alias for -delete 2007-02-06 15:33:22 +00:00