Commit Graph

155981 Commits

Author SHA1 Message Date
pooka
95700e9a12 assign value for strategy output parameter b_resid instead of decreasing it 2007-02-09 08:15:41 +00:00
hubertf
82105ff74f Make the output of 'list -n' aligned by always printing 8 hex digits.
Suggested by Nicolas Joly <njoly@pasteur.fr> in private mail.
2007-02-08 23:27:07 +00:00
pooka
692448474d If the file server doesn't support write, don't use genfs_null_putpages
for putpages, as it assumes a vnode doesn't have any pages.  For
mounts using the page cache this is simply not true.  Rather,
prevent opening a regular file in write-mode.  That way a vnode
can never have dirty pages which would need to be flushed (i.e.
written).
2007-02-08 22:55:06 +00:00
dillo
d096538b4a Fix typo. 2007-02-08 22:27:20 +00:00
drochner
628f1591c1 include <signal.h> where signal(3) is used 2007-02-08 21:36:58 +00:00
dbj
c888080e0e add some missing .debug files for acpidump, smldb, srtconfig
also fix my previous botch on lfs_cleanerd.debug moving
from /usr/libexec to /libexec
2007-02-08 20:42:51 +00:00
jdc
220cbf1395 First steps for working wscons on sun-4 class machines - recognise the
console keyboard and mouse on them.

We are not there yet because currently both wsdisplay and zstty assume
that they are the console.  On sun-4, zstty wins because it attaches
last and overwrites the console device that wscons had set previously.
2007-02-08 20:36:55 +00:00
jdc
3cb2b40395 Clarify the console checking comment. 2007-02-08 20:30:50 +00:00
ad
ab38c1f30e Add a quick hack to allow addressing over 2G sectors. XXX This driver
needs to be rewritten to use the scsipi layer. Additionally:

- Missing copyright years: 2000, 2001, 2002, 2003
- Missing attribution: Andrew Doran and Jason R. Thorpe
2007-02-08 18:47:21 +00:00
elad
5a6bb5eba2 remove empty line 2007-02-08 16:06:58 +00:00
tnozaki
a7bd6df304 backout rev1.3's change, this broke cp932 -> eucjp-ms conversion. 2007-02-08 15:48:18 +00:00
perry
851b2b6abe Add a missing "can". Update date. 2007-02-08 13:32:53 +00:00
njoly
8fbf55addb Regen (aliases cleanup). 2007-02-08 12:32:17 +00:00
njoly
fb1562ae0f Remove some aliases, for syscalls that use their netbsd32 equivalent.
This makes the ktrace output more consistent.

ok by manu.
2007-02-08 12:29:39 +00:00
dillo
8f94021d97 Mark up function arguments with .Fa, not .Fn; also, fix typo in
function argument.
2007-02-08 08:04:00 +00:00
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