Commit Graph

146363 Commits

Author SHA1 Message Date
christos
1ce9f4326d Coverity CID 3032: Prevent double free: Next to the call of page_more()
there is a comment saying /* does fclose */, but the next line calls
fclose(fp);. Go figure.
2006-04-24 20:08:54 +00:00
christos
6ce96df0b7 Coverity CID 2993: Fix memory leak. 2006-04-24 20:00:31 +00:00
christos
8a8f572953 Coverity CID 2994: Don't leak memory in the perm case. 2006-04-24 19:58:20 +00:00
christos
f2ec0dc9a2 Coverity CID 2995: Fix memory leak. 2006-04-24 19:53:08 +00:00
hubertf
1e8e9dee9c Try guessing hash types. Prefix output with hash type,
the output format was inspired by Linux & OpenBSD.

This now allows doing something like:

miyu% ( md4 *.c ; md5 *.c ; sha1 *.c ) > /tmp/x
miyu% md5 -c /tmp/x
miyu% cksum -c /tmp/x
miyu% echo $?
0
miyu% date >test.c
miyu% cksum -c /tmp/x
(MD4) test.c: FAILED
(MD5) test.c: FAILED
(SHA1) test.c: FAILED
miyu% echo $?
1
2006-04-24 19:41:41 +00:00
snj
a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
drochner
f782e99583 There is no point in using the internal sigprocmask() to initialize
the process' signal mask -- this ends up in a no-op.
Use the system call directly instead.
(This might be done in pthread_sig.c, but for now I wanted a simple
patch which is easily tested and pulled up.)
2006-04-24 18:39:36 +00:00
garbled
8937ee204d Make this work on 7024 and 7025 models by not repeating the base address
of the pci bus when we are a pci bus on a ppb.
2006-04-24 18:10:57 +00:00
snj
bf5ceaae16 It's "its." 2006-04-24 18:00:53 +00:00
drochner
cc76bf4bcf add an #include path for sigcompat.c to get at <sys/compat>; this
file is a mix of official and compat functions, and until this is
sorted out the extra path is needed to build a "legacy free" libc
2006-04-24 17:15:06 +00:00
jmcneill
e04eaffce1 Add vesafb man page. 2006-04-24 14:35:15 +00:00
jmcneill
ba3a7d2db2 Attach vesafb driver if available. 2006-04-24 14:15:47 +00:00
jmcneill
14b1ff949d Stub vesafb_cnattach. 2006-04-24 14:14:38 +00:00
jmcneill
1ced2c897c Add splash, vcons, vesabios, vesafb. 2006-04-24 14:12:21 +00:00
dillo
39602e007e Add pkg_summary.5. 2006-04-24 13:38:00 +00:00
dillo
845f7524ad Add support for creating summary file containing all information
about a package repository needed by package managing software.
This allows better use of remote binary package repositories.

Discussed on tech-pkg.
2006-04-24 13:36:22 +00:00
jld
c861d33e38 Make yes exit if a write fails (due to, e.g., EPIPE or revocation).
With advice from rillig@; discussed on tech-userlevel on 2005-11-18.
2006-04-24 05:24:03 +00:00
rittera
a7d881767a replaced all device_printf()'s in compat/ndis/ with printf() 2006-04-24 00:23:41 +00:00
rittera
a96342da61 a few cosmetic changes to if_ndisvar.h 2006-04-24 00:10:17 +00:00
rittera
3441c2e772 Replaced all the device_printf's in if_ndis_pci.c with aprint_error() 2006-04-24 00:01:29 +00:00
hubertf
831546110a When switching the /etc/etc.current symlink, make it relative to /etc,
not absolute.

This affects an update with sysinst, which will try to look at
/targetroot/etc/fstab, which points to /etc/etc.whatever, which is
not there during the upgrade, and results in all (/targetroot)/etc
files getting nuked!
2006-04-23 23:26:26 +00:00
hubertf
6e0ce16052 Call the partition type 'type' instead of 'kind'.
Less confusing, and in sync with common terminology.

Found while walking someone through the installation on IRCnet #NetBSD...
2006-04-23 23:09:48 +00:00
rittera
03f0a1ac3d Replaced all the device_printf's in if_ndis.c with aprint_error() or
aprint_normal().  Now I just need to go through and do this for the rest of the files.
2006-04-23 22:53:43 +00:00
rittera
bad11dd7e0 Replaced the device_printf's in ndis_ticktask() with printf(). For some reason
a uvm fault was occouring here.  I'm still looking in to figuring out why, but
this fixes the problem for now.
2006-04-23 19:30:19 +00:00
wiz
975e7796db Improve description of msg_name and msg_namelen fields.
Addresses PR 33330 by Nils O. Selaasdal.
Use more markup.
2006-04-23 19:06:59 +00:00
elad
7cc919d464 fix typo. pr 33344. forwarded to paulus at samba dot org. 2006-04-23 19:01:08 +00:00
wiz
f255a1f958 A fix for HTML output; punctuation nits. 2006-04-23 17:45:04 +00:00
wiz
18cc3581fb New sentence, new line. Some fixes for HTML output.
Add RCS Id. Other minor fixes.
2006-04-23 17:40:08 +00:00
christos
e41fa8a52e Complete the FREE -> free transition and add more NULL checks for malloc
returns. Although these cannot happen because M_WAITOK, the rest of the
code does them already, so this is good for consistency. From Mindaugas
2006-04-23 16:57:22 +00:00
wiz
66784c2d94 Add -T to SYNOPSIS. 2006-04-23 16:51:56 +00:00
wiz
c658b10ae0 Fix typo. 2006-04-23 16:51:18 +00:00
wiz
bffaecaf07 Bump date for previous. Remove trailing comma in SEE ALSO. 2006-04-23 16:50:25 +00:00
wiz
94aa5cae8a New sentence, new line. 2006-04-23 16:48:46 +00:00
hubertf
944a4820a3 Document -w, too. 2006-04-23 16:48:02 +00:00
wiz
abc202e87e No abbreviations in Dd arguments. 2006-04-23 16:46:32 +00:00
wiz
e29be3b11f Some serial commas. 2006-04-23 16:44:00 +00:00
wiz
bb197ac232 We are not NeyBSD. 2006-04-23 16:43:10 +00:00
hubertf
f9e91b57ed Add a switch "-c file" to verify a list of checksums generated by the
cksum program and stored in file against files on disk.  E.g. first
run "md5 *.tgz >MD5" to generate a list of MD5 checksums in MD5, then
use the following command to verify them use "md5 -c MD5"

Inspired by Linux' md5sum,
called for by Jukka Salmi <j+nbsd@2006.salmi.ch>on netbsd-help@,
reviewed by rui@.
2006-04-23 16:40:16 +00:00
rpaulo
3fe7a640a3 Blame me for postfix too. 2006-04-23 15:33:10 +00:00
yamt
1d3a67174f remove unused FFS_NAMES and LFS_NAMES. 2006-04-23 14:15:12 +00:00
jld
aab6081169 When testing seek speed (for the -A option), use sector-aligned offsets
so the reads don't always fail, and also be more careful not to read off
the end of the disk.  If a read does fail, error out instead of silently
leaving the loop early (and possibly dividing by zero seconds), because
it means our idea of the disk size is wrong, or worse.

This fixes PR bin/33199.
2006-04-23 07:56:58 +00:00
christos
d53df8e839 Use malloc/free instead of MALLOC/FREE and M_ZERO instead of memset. 2006-04-23 06:46:39 +00:00
christos
328064d112 Redo the previous change so that we can ignore access errors from find,
but also tell when writing to the output file failed, by using a pipeline
to cat. While here change `` to $(). Otherwise this would always fail
since it is ran as nobody and therefore it cannot access some files. Reported
by smb.
2006-04-23 03:04:08 +00:00
rittera
9225a5f961 A number of cosmetic changes to if_ndis.c. A lot of work needs to be done
cleaning up all the NDIS files.
2006-04-23 02:55:04 +00:00
rittera
ce45cf6bf9 Added ndis.4 to distrib/sets/lists/man/mi 2006-04-23 01:35:07 +00:00
rittera
e067575084 Added ndis.4, a manpage describing the use of ndis drivers. OK'ed by hubertf 2006-04-23 01:34:01 +00:00
christos
27c51b847a Make this compile again. Use ALIGNED_POINTER to determine if we need to
align, taking a hint from the comment:
    "the following code is not needed on a vax"
2006-04-23 00:13:19 +00:00
christos
9df2078720 Make this compile again. 2006-04-23 00:08:50 +00:00
uwe
13ab2e2a10 Now that bcopy.S doesn't contain the actual implemenation, move it
back to libc.
2006-04-23 00:08:18 +00:00
jld
8d20bdba95 Don't leak an xbdreq when probing disks. 2006-04-22 23:59:50 +00:00