martin
3088b1239b
Improve diagnostics a bit, log to syslog.
2003-06-23 21:50:12 +00:00
tacha
7a3ec6c576
Call tgetent only when TERM environment is set.
2003-06-23 16:46:57 +00:00
bouyer
d6242d4312
We can't keep a reference to the value returned by svc_getrpccaller().
...
Instead malloc() some memory and copy the sockaddr returned there.
Fix a bug where after a blocked lock gets granted, the grant message would
be sent to the wrong machine (or possibly to a completely bogus address).
While there, add a NULL check for the return value of another malloc().
2003-06-19 11:13:06 +00:00
agc
7b2c1a6c22
Firstly, let's give credit where credit is due - the idea came from uwe.
...
Add the ability to pkg_info(1) and pkg_delete(1) to take a directory
name for the name of the package, so that shell-completion can help
when finding out information or deleting packages.
2003-06-19 08:54:29 +00:00
itojun
c0ee9a3789
need "a". from jmc@openbsd
2003-06-18 05:06:15 +00:00
atatat
d2f781064e
If the file being stuffed into the config file string for inclusion in
...
the kernel is missing the newline at the end of the file, the string
doesn't get closed properly, resulting in a message from the compiler
about a missing #endif. It's somewhat misleading, so config will now
point it out and compensate for the missing newline.
Addresses PR kern/21920: including kernel config fails in some cases.
2003-06-18 04:19:49 +00:00
itojun
81e3f9cb3f
sync manpage with previous change (addrs# deprecdated)
2003-06-18 02:08:10 +00:00
itojun
8412a300dc
relax addrs#x config parameter. should address PR 21872
2003-06-17 08:08:48 +00:00
tsutsui
af66232520
Fix function declaration mismatch with src/sys/ufs/ffs/ffs_extern.h which
...
causes makefs(8) failure on big endian machines. Pointed out by tsubai.
XXX The real problem is that some sources include {.CURDIR}/ffs/ffs_extern.h
XXX but others include /usr/include/ufs/ffs/ffs_extern.h .
2003-06-15 18:10:56 +00:00
itojun
7087f39f8d
use strlcpy/cat
2003-06-13 07:26:41 +00:00
agc
65feb98718
Some patches from Todd C. Miller:
...
1. Use REG_NEWLINE, rather than matching "\n".
2. Fix a bug where rm_user_from_groups would mangle group entries in
/etc/group when the user to be removed is the only member of the group,
by using substring matches.
2003-06-12 17:00:53 +00:00
agc
706a03ef9c
Make the "-f" switch to pkg_delete(1) into a counter. Require two "-f"
...
switches to delete a package that has been preserved. Document this
change.
2003-06-12 13:50:38 +00:00
agc
bc4c2ec6be
Avoid one more annoying duplicated slash when prefix is "/" in pkg_create(1),
...
and one in the db cache file, which was causing pkg_info -F to produce the
wrong results with a prefix of "/".
2003-06-12 13:29:32 +00:00
drochner
96b62d8a69
no need to #include <sys/dkstat.h>
2003-06-11 17:26:31 +00:00
christos
b4f029d21d
revert to revision 1.41, since 1.42 did not fix the problem and made the
...
code more complicated. Fix the real issue which was setting the dst addr
incorrectly.
2003-06-09 13:35:10 +00:00
itojun
7a5741651c
- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)
...
- routing header declaration with RFC3542
(note: sizeof(ip6_rthdr0) has changed!)
also, sync up with RFC2460 routing header definition (no "strict" source
routing mode any more)
part of advanced API update (RFC2292 -> 3542).
2003-06-06 08:13:43 +00:00
christos
7eec87e751
previous fix had trouble deleting routes; try to delete a more generic
...
default route.
2003-06-05 19:48:49 +00:00
agc
2efa359891
When displaying full pathnames of the package contents (pkg_info -L pkg),
...
don't add a '/' between the prefix and the name if the prefix is "/".
This avoids annoying annoying double slash filenames when the prefix is "/".
2003-06-05 17:58:05 +00:00
agc
582cc64a31
Set the program name via setprogname(3).
2003-06-05 13:15:43 +00:00
dsl
eb9a70f8fb
Another mistake in the ufs2 code - a missing else.
2003-05-30 09:22:50 +00:00
simonb
ae46649fa5
Pass a NULL to getbsize() for any arguments that aren't needed, and
...
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
christos
a23e290bac
Specify the interface where to place the default route, otherwise we sometimes
...
can put it in the wrong place.
2003-05-28 13:43:26 +00:00
yamt
cc3f08f723
define HAVE_XDR_MOUNTRES3 in pre-generated config.h as we have mountres3 now.
...
this makes amd buildable for archs without shlibs support like hpcsh.
(i've tested i386->hpcsh cross-compile)
pointed by Torsten Harenberg on tech-hpcsh
and analyzed by Valeriy E. Ushakov.
2003-05-18 09:44:28 +00:00
lukem
826a14607a
Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
...
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
itojun
ef713a2fe9
use strlcat
2003-05-17 21:00:57 +00:00
itojun
89bf339ad7
use strlcpy/strlcat
2003-05-17 20:58:39 +00:00
itojun
c428db5b2f
use strlcpy
2003-05-17 20:55:44 +00:00
itojun
9e390651ee
remove local copy of strl{cat,cpy}
2003-05-17 20:49:28 +00:00
itojun
85da88227f
use strlcpy/strlcat.
...
[fix off-by-one in displayq.c]
2003-05-17 20:46:42 +00:00
itojun
b37b18f113
remove obsolete comment
2003-05-17 19:19:50 +00:00
itojun
d0f8b66023
strncpy -> strlcpy
2003-05-17 19:18:59 +00:00
itojun
84e2880efb
KNF
2003-05-17 19:14:25 +00:00
itojun
d0512514bd
use strlcpy. don't hardcode sizes, use sizeof.
2003-05-17 19:09:08 +00:00
itojun
4a1c105c26
ensure string termination
2003-05-17 19:00:22 +00:00
itojun
f35cce81c8
strncpy -> strlcpy
2003-05-17 18:51:13 +00:00
itojun
3d2b0dbc0e
strncpy -> strlcpy
2003-05-17 18:13:55 +00:00
itojun
658519705e
sscanf possible overrun
2003-05-17 14:56:40 +00:00
itojun
682aab7791
sscanf overrun
2003-05-17 14:54:53 +00:00
itojun
405a7327c7
fix strncat too. from wiz
2003-05-17 13:56:41 +00:00
dsl
35605a88c0
A slightly better inet_parse(), tested in isolation.
2003-05-17 09:39:04 +00:00
itojun
aa5672d8c5
sscanf overrun
2003-05-17 01:02:01 +00:00
itojun
5be6cd5c8d
prevent sscanf overrun
2003-05-17 00:50:36 +00:00
itojun
4fb82a79ed
strlcpy
2003-05-17 00:46:04 +00:00
itojun
7bd6640a6d
strlcat
2003-05-17 00:44:49 +00:00
dsl
da0369cc40
Match latest mrouted source.
2003-05-16 23:24:38 +00:00
dsl
1f67e2a5fa
Match latest mouted code
2003-05-16 23:10:15 +00:00
dsl
d26eb4f4c2
Make this comple with modified mrouted sources.
2003-05-16 23:00:29 +00:00
dsl
ee70b5d6af
Revert previous change. Remove s parameter from teh function and rotate
...
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
2003-05-16 22:59:50 +00:00
itojun
bd26fba38c
avoid possible buffer overrun
2003-05-16 18:28:18 +00:00
itojun
272c80e349
avoid possible buffer overrun
2003-05-16 18:15:34 +00:00
itojun
761f7bebc3
avoid possible buffer overruns - strlcpy, snprintf
2003-05-16 18:10:37 +00:00
itojun
646e6960b2
blank line
2003-05-16 14:53:55 +00:00
christos
03db714fce
- zero out the sockaddr before passing it to the kernel.
...
- print the reason of the export failure.
2003-05-16 14:03:31 +00:00
abs
81ab107137
maybe -> may be
2003-05-16 08:37:09 +00:00
itojun
d25769c013
assume presense of getifaddrs(3).
2003-05-15 14:50:02 +00:00
itojun
5818b97495
assume getifaddrs(3)
2003-05-15 14:47:49 +00:00
itojun
68452c0c92
assume presense of getifaddrs(3).
2003-05-15 14:44:57 +00:00
itojun
e24f1908e1
byebye savestr. with savestr() we can't free().
2003-05-15 14:34:39 +00:00
itojun
0f0398257d
simplify by strdup. expilcitly specify IPPROTO_TCP (to cope with sctp-ready
...
getaddrinfo).
2003-05-15 00:23:54 +00:00
itojun
6cad7b99db
simplify by using strdup. from kame
2003-05-15 00:19:30 +00:00
itojun
723a0d30ad
just for safety
2003-05-15 00:08:10 +00:00
itojun
f2bfdc2f65
traceroute.c doesn't use savestr()
2003-05-15 00:04:16 +00:00
itojun
a37f9a315d
strcpy audit (command line argument was used as src, subject to overrun)
2003-05-15 00:02:25 +00:00
itojun
b2189acdb8
whitespace fix
2003-05-14 23:58:23 +00:00
itojun
4b641df88a
strlcpy audit
2003-05-14 23:53:09 +00:00
wiz
d75f1336b3
Uppercase URL.
2003-05-14 14:30:59 +00:00
wiz
d43e332f1e
setup -> set up.
2003-05-14 12:11:03 +00:00
dbj
f1e0ecadf7
remove dependencies on ${LIBC} ${LIBM} and ${LIBTERMCAP} static libraries
...
from host tool targets. Commits fix from PR toolchain/21495
2003-05-14 00:24:06 +00:00
martin
6d77f1d081
Add some error handling for an ioctl - the old code could loop tightly if
...
the peer closed a socket unexpectedly.
This addresses one of the issues Frank Kardel patched (differently) in
PR kern/21448, after clarification from Frank via private mail.
2003-05-13 07:07:37 +00:00
ragge
855df1740e
Don't build kvm_mkdb anymore.
2003-05-11 18:19:09 +00:00
itojun
2ab2b66ee8
just for safety - use sizeof
2003-05-09 00:48:59 +00:00
itojun
5397d22f9f
KNF
2003-05-09 00:47:46 +00:00
itojun
830e70f6d0
readlink(3) does not terminate string by \0.
2003-05-09 00:43:46 +00:00
petrov
674b7e97b8
Format fixes.
2003-05-08 20:33:44 +00:00
petrov
209bf42bf9
Add CPPFLAGS.
2003-05-08 20:24:10 +00:00
yamt
c18e1d32a6
make amd compile again.
...
pointed by Geoff Wing.
2003-05-08 13:34:04 +00:00
martin
59b588f4a2
The FIONREAD ioctl() expects an int parameter.
...
Noticed by Frank Kardel in PR 21448.
2003-05-08 08:35:40 +00:00
martin
a9c8af8af0
Passing the address of a timeval.tv_sec to localtime() is wrong on ports
...
where time_t != long.
From Frank Kardel in PR 21448.
2003-05-08 08:32:39 +00:00
wiz
38ae31a7c0
Fix device names, from Sergey Svishchev in PR 21485.
2003-05-07 08:01:08 +00:00
wiz
8dc7b32a42
Bump date for last.
2003-05-06 08:43:45 +00:00
wiz
64c914b286
Bump date for last.
2003-05-06 08:37:34 +00:00
wiz
fade7b55f5
New sentence, new line.
2003-05-06 08:28:38 +00:00
gmcgarry
662e57683f
Document how to change the console font to one of crazier fonts
...
available.
2003-05-04 00:52:39 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
ragge
64d8c965d1
Note change to use /dev/ksyms. Add BUGS section.
2003-05-03 10:03:55 +00:00
ragge
40c743b278
Remove some unneccessary kmem open/close code.
2003-05-02 16:28:34 +00:00
ragge
ead8c24788
Teach kvm_mkdb to use /dev/ksyms if possible.
2003-05-02 16:25:22 +00:00
martin
562ced8429
Don't cast (dubious) values to pointers, only to memcpy from them to
...
a properly aligned structure. Memcpy from the original data instead.
This fixes PR port-sparc64/21425.
2003-05-02 15:15:52 +00:00
gmcgarry
733d836b9b
Add an explanation of the log format. From PR#14290.
2003-05-02 08:31:51 +00:00
thorpej
b393c94e79
Shuffle a bit to allow some compilers to optimize symbol references
...
more effectively.
From Ian Lance Taylor.
2003-05-02 04:29:03 +00:00
wiz
1f2ca5e686
Increase width now we mention flag arguments.
2003-05-01 15:29:24 +00:00
jmmv
bee0be0e17
In the options list, show which ones require an argument.
...
New sentence, new line.
2003-05-01 15:10:58 +00:00
dsl
c4582ac81d
Change 'ulong' to 'unsigned long' so it compiles as a host tool on freebsd.
2003-04-29 09:39:23 +00:00
jmmv
42c016f444
Note when the -x option appeared; this was in the original patch...
2003-04-26 18:12:00 +00:00
jmmv
f37b7f38ab
Let config extract embedded configuration data from kernels that were built
...
with either "options INCLUDE_CONFIG_FILE" or "options INCLUDE_JUST_CONFIG".
The program can now be invoked like:
- config -b objdir -s srcdir /netbsd
This will use configuration data from /netbsd to automatically create the
build directory of the new kernel.
- config -x /netbsd > CONFFILE
This will store configuration data from /netbsd in the CONFFILE file for
further editing.
2003-04-26 12:53:43 +00:00
jmmv
595e7da8dc
New sentence, new line.
2003-04-24 13:23:55 +00:00
seb
2eb61ac136
pkg_add fix:
...
When doing quick pre-check if any conflicting dependencies are installed
and a dependency is not found installed do not try to search for a wildcarded
(-[0-9]* suffix) package if the dependency was already wildcarded.
This prevent something like 'p5-Net-DNS-0.33' reported as an already
installed version of 'p5-Net-[0-9]*' as a dependency.
Before this fix 'p5-Net-[0-[0-9]*' would have been incorrectly searched for.
Reviewed by hubertf@.
Bump PKGTOOLS_VERSION to 20030423.
2003-04-23 10:02:23 +00:00
wiz
b461e245c1
Bump date for last; sort sections; comment out sysmon(4) xref for now.
2003-04-23 05:46:21 +00:00
augustss
7064ed78f9
Note that scripts are run synchronously.
2003-04-22 22:45:48 +00:00
itojun
47c9fbf29d
port numbers are unsigned. use %u. from kame
2003-04-22 09:56:30 +00:00
itojun
a6a7baa235
"user:group=foo.bar" is weird. use colon on both sides
2003-04-22 07:46:46 +00:00
itojun
906a2ba4ed
always configure IPV6_FAITH explicitly to avoid misconfiguring it on SIGHUP.
...
sync w/kame
2003-04-22 07:45:27 +00:00
hubertf
4af963d89d
Rename "upgrade" variable to "Replace" (etc.) as that is what it's really
...
for. Assorted text updates.
2003-04-22 01:17:03 +00:00
thorpej
e6227d3c54
Document the reset_button script.
2003-04-21 00:55:17 +00:00
christos
644c9834e5
PR/5999: Todd Vierling: minor nits about Makefile.yp
...
Provide MINUID and MINGID variables to specify the minimum uid and gid to
be included in the password and group maps.
2003-04-20 20:53:45 +00:00
thorpej
b9ea11721d
Support the reset button type.
2003-04-20 20:53:04 +00:00
christos
c7e6b87cad
PR/3713: Aaron Brown: crontab fails with signals.
...
While I am here eliminate forking a shell for the editor.
2003-04-20 01:24:05 +00:00
lukem
2a820a18cf
Add explicit descriptions of the filesystem',
primary', and `secondary'
...
arguments, including a clarification that `secondary' is relative to the root
of the filesystem, not a path name to that file if `filesystem' is mounted.
Resolves PR 20977 from Jim Bernard.
2003-04-20 00:38:31 +00:00
christos
552cc1f0ea
interactive errors.
2003-04-20 00:19:56 +00:00
christos
96efc68fce
Interactive logs
2003-04-20 00:19:05 +00:00
christos
676485e564
interactive error output.
2003-04-20 00:18:33 +00:00
christos
26ae50113f
new logging files.
2003-04-20 00:17:42 +00:00
christos
10dd0ebe00
PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive
2003-04-20 00:17:22 +00:00
thorpej
8a1fcff86a
MKSHARE -> MKDOC
2003-04-18 18:33:22 +00:00
wiz
170f2084f5
New sentence, new line. Use \*[Lt],\*[Gt] for easier HTML conversion.
2003-04-18 15:15:12 +00:00
bjh21
360968bcd9
Use <md5.h> rather than <sys/md5.h>. This is what the man page tells us to
...
do, and is required for cross-compiling since libnbcompat doesn't provide
<sys/md5.h>.
2003-04-18 14:16:42 +00:00
gmcgarry
25ab7bf52b
Build manpage.
2003-04-18 05:32:37 +00:00
thorpej
77923a9ba6
Build powerd.
2003-04-18 04:55:54 +00:00
thorpej
539625c024
Power management daemon for sysmon. Currently supports acting on
...
power switch state change events.
2003-04-18 04:54:49 +00:00
grant
6bc4824cf3
crank PKGTOOLS_VERSION for pkg_admin getcwd() fix.
2003-04-17 13:38:02 +00:00
grant
5cea86225d
don't pass NULL as the 2nd arg to getcwd(), ala lib/path.c.
...
fixes 'pkg_admin lsall' and 'pkg_admin lsbest' on Solaris and probably
other platforms where getcwd() doesn't allocate a buffer when the 2nd
arg is NULL.
ok'd by simonb@
2003-04-17 13:32:21 +00:00
fvdl
4589db98fb
Skip over inodes <= ROOTINO for getnextinode(). PR 21208 by Geoff Wing.
2003-04-17 09:21:01 +00:00
lukem
e7fa9814b3
clear errno before strtol() if we're going to test it for ERANGE afterwards
2003-04-17 02:41:21 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
80d074c338
Bump date for last; sort authors; add comma after e.g.
2003-04-16 13:02:45 +00:00
wiz
1b8a3850d5
A-Law -> A-law.
2003-04-16 12:53:08 +00:00
wiz
4e9fe74ce2
Bump date for last, and add commas after i.e. and e.g.
2003-04-16 12:43:43 +00:00
wiz
d0e6ae84ee
p before q in options/usage.
2003-04-16 11:56:11 +00:00
wiz
b190a86ddc
Sort options; fix typo; new sentence, new line.
2003-04-16 11:48:11 +00:00
wiz
c1dcf625b3
Sync usage with man page.
2003-04-16 10:29:05 +00:00
wiz
61860e9d83
Sort options in SYNOPSIS and description.
2003-04-16 10:28:55 +00:00
wiz
ab9a7c3733
dumplfs needs one argument -- remove .Op.
2003-04-16 10:21:57 +00:00
wiz
a0d5a7bba1
Sync usage with man page.
2003-04-16 09:25:04 +00:00
wiz
064e896cda
Sync usage with man page.
2003-04-16 09:09:52 +00:00
wiz
e0513f4ff2
pppoe(4), not (8). Uppercase PCMCIA.
2003-04-16 09:06:55 +00:00
wiz
0384eb0efb
Increase width in a tagged list for nicer display.
2003-04-16 08:42:16 +00:00
briggs
755a56f62f
Protect use of __RCSID() with a check to ensure that it's defined.
...
Suggested by Ian Lance Taylor on tech-userlevel@ to help cross-compilation
on Red Hat 7.3.
2003-04-16 01:32:07 +00:00
dsl
8c4da2e486
Use htole32 so host endianness independant
2003-04-15 14:35:57 +00:00
dsl
ed45ba76c7
Change the way -o options are parsed, now done in MI code with a check after
...
all the options have been processed that they are supported my the
specific system.
Add i386 MD options (console, password, speed and timeout)
(Approved by christos and lukem)
2003-04-15 14:22:13 +00:00
itojun
c2a20cc150
%d is not 10 chars, but 12 chars. uwse NI_MAXSERV. sync w/ kame. from openbsd
2003-04-15 07:23:19 +00:00
grant
6dbbe09cdf
in delete_package(), always warn if there is a checksum mismatch,
...
improve text.
2003-04-14 23:42:21 +00:00
agc
9878b0d124
The "default" case usually occurs at the end of all other options, so change
...
it to follow convention.
Add /* NOTREACHED */ comments, per share/misc/style.
2003-04-14 17:40:07 +00:00
dsl
238b338f74
Report usage() if getopt() returns '?'
...
Partial fix for bin/21146
2003-04-14 09:49:15 +00:00
thorpej
590fe82698
Use MKPICLIB to determine if we should have a dependency on the .a or
...
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
grant
680230355c
improve a message
2003-04-11 19:57:06 +00:00
drochner
5f4d60be7c
Add an interface to the "force" option, and fix a bug where the
...
"readonly" flag cleared "hasgeom".
2003-04-11 16:15:28 +00:00
grant
b862bb2e33
bump version for last.
2003-04-11 14:16:45 +00:00
jmmv
85cbefaced
Avoid running config on directories (i.e., config /tmp), as the error message
...
given is unclear. Closes my own PR bin/18785.
2003-04-11 10:53:52 +00:00
grant
c839e381ae
fix comment, thanks simon.
2003-04-10 23:38:16 +00:00
grant
a8bd964bf8
min_free: Return size in a uint64_t since off_t isn't 64 bits on
...
all operating systems.
2003-04-10 23:31:26 +00:00
grant
dc7d730383
allow bzip2 support to work on earlier systems where tar has no -j
...
option, including NetBSD 1.5 and 1.6. noted by wiz.
also handle tar.gz, tar.bz2 and .tar filenames, and bomb with a useful
error if we don't know to handle a file.
2003-04-10 16:25:25 +00:00
grant
ef79ced85d
improve error when there's not enough space to unpack in PKG_TMPDIR.
2003-04-10 16:12:38 +00:00
jdolecek
d70973544d
use setproctitle() instead of uppercasing ProgramName
...
this makes the ps display nicer, and also avoids uppercasing the cron program
name in logs
idea from FreeBSD
2003-04-10 14:14:15 +00:00
grant
4253e0d3e1
pass -j to tar to read bzip2 binary pkgs.
...
bump PKGTOOLS_VERSION to 20030410.
2003-04-10 05:08:55 +00:00
dsl
c4dba16f34
Add support for i386 boot code - for new bootxx stuff
2003-04-09 22:30:59 +00:00
dsl
f14ef8a1e3
Add support for 'new' format i386 bootxx code
2003-04-09 22:14:27 +00:00
petrov
cc92472571
Fix alignment for socket addresses in routing socket requests for
...
LP64 machines. Addresses port-alpha/11089. Reviewed by thorpej.
2003-04-08 04:04:01 +00:00
wiz
334bfb30b4
More e.g. cleanup. Igor Sobrado, PR 19692.
2003-04-07 07:04:49 +00:00
wiz
07d13217f3
Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692.
2003-04-07 06:56:38 +00:00
martin
03b03281c7
Fix buffer overrun noticed by Markus Dolze on the freebsd-isdn mailing
...
list.
2003-04-06 21:07:09 +00:00
wiz
1afb9ef148
NFSNET. From Igor Sobrado in PR 19691.
2003-04-06 20:14:41 +00:00
wiz
68caa698b2
Respect the law: Use A-law and mu-law as spellings as far as easily possible.
...
Inspired by Igor Sobrado in PR 19680.
2003-04-06 18:20:07 +00:00
he
798d0c8191
Fix two mistakes done in the UFS2 merge:
...
o Correct the order of arguments to ffs_read_disk_block; the second one
is blocknumber to read, not the size to be read. This would affect the
UFS2 code, and is thus not much excercised at the moment.
o The offsets in SBLOCKSEARCH are in bytes, but ffs_read_disk_block wants
its location in terms of DEV_BSIZE blocks. Fix this bug in ffs_match().
The latter together with the recent magic number fix to <ufs/ffs/fs.h>
fixes a cross build problem seen when doing a i386->sparc build.
2003-04-05 11:30:53 +00:00
christos
f2829c2b54
fix problem with fgets()
2003-04-04 23:10:10 +00:00
perry
eca50de83f
set close on exec on a couple of FDs. from Charles Blundell PR security/16663
2003-04-04 01:24:09 +00:00
christos
8fe39e55bc
This Makefile should not need bsdmake!
2003-04-03 20:32:41 +00:00
christos
2f01db86ba
add more defines for stuff we have.
2003-04-03 17:56:52 +00:00
perry
69c34ee0f1
Changes to make wiconfig print vendor and firmware id/version
...
Provided by Love in PR kern/12779
XXX WI_RID_STA_IDENTITY_* should probably be defined somewhere other
XXX than inside wiconfig.c itself, perhaps in dev/ic/wi_ieee.h ?
2003-04-03 17:26:33 +00:00
christos
e2f800d682
put back <sys/ioctl.h> in case we are lunix.
2003-04-03 17:15:22 +00:00
christos
c8ee373ee5
Port to linux
2003-04-03 17:14:24 +00:00
itojun
079ee2105d
fix typo. from jason@openbsd
2003-04-02 23:29:29 +00:00
he
ad1f16e9ef
Add cats for printf %llu arguments, for the benefit of LP64 platforms.
2003-04-02 23:02:29 +00:00
he
ea53f7f82d
Add explicit cats for %lld printf format args, for the benefit of LP64
...
platforms.
2003-04-02 22:50:52 +00:00
atatat
a9c9b3a125
Use awk instead of fgrep and sed, and default to 80 if we get
...
something that is arithmetically equal to 0.
2003-04-02 22:32:19 +00:00
he
2a70d2a4a1
With the new UFS2 code, alternative places are searched for a super-block.
...
This includes block #0 . Therefore, allow read of block #0 in
ffs_read_disk_block(); change assert (blkno > 0) to (blkno >= 0).
2003-04-02 22:02:56 +00:00
wiz
a90c0085c1
Some Bl improvements; drop trailing whitespace; don't comma-separate
...
"a, and b"; mention arguments in option listing; list options in SYNOPSIS
in default order (those without arguments first).
2003-04-02 19:30:57 +00:00
perry
2b097fd2fc
Massive cleanup of the document, although there is a lot more work to
...
do still.
2003-04-02 16:47:40 +00:00
perry
35b6bc735d
Automatically figure out how wide the terminal is with an ugly
...
`stty | fgrep | sed` expression.
Really, sdiff should figure this out by default but it does not.
2003-04-02 16:30:25 +00:00
perry
889c8a5b3a
set USETOOLS=never when doing make distribution, so that users don't have
...
to set it themselves or set TOOLDIR to use etcupdate.
Closes PR install/19752 from Oliver Tonnhofer
2003-04-02 15:00:53 +00:00
fvdl
42614ed3f3
Add support for UFS2. UFS2 is an enhanced FFS, adding support for
...
64 bit block pointers, extended attribute storage, and a few
other things.
This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
perry
939003f2a8
Remove a NO_SENDMAIL=1 in the construction of the reference etc/ -- it
...
was needlessly preventing the update of sendmail configs like submit.cf
Should close PR misc/20968 from Martin Weber
2003-04-02 04:04:29 +00:00
perry
fec4dbea24
Add a -l option telling etcupdate to skip any file who's RCS id has
...
not been changed.
(-l means "skip local modifications".)
Code and documentation from Christopher Richards in PR bin/20200
2003-04-02 03:07:30 +00:00
christos
367ffb5e14
PR/3272: Wailer: Don't send lcp echo's if we are not opened.
2003-04-01 15:12:12 +00:00
drochner
594e5ccb92
remove some #includes which are unneeded since the transition
...
to getifaddrs(3)
2003-04-01 08:46:10 +00:00
perry
ba7c369fa0
explain what "Microwave Oven Robustness" means.
...
An attempt to close PR bin/12177 by jhawk.
2003-03-31 21:19:06 +00:00
perry
225230174b
Spelling errors (some from Igor Sobrado, PR misc/19909)
...
XXX this needs to be fed back to the altq maintainers, but I don't
know who they are.
XXX This man page needs a lot of cleanup.
2003-03-31 17:21:41 +00:00
wiz
0de6cf8c45
Some typo fixes from Igor Sobrado in PR 20743. Sent back to the ntp
...
people.
2003-03-31 09:27:52 +00:00
wiz
dc0174806b
millisecond with two is. From Igor Sobrado in PR 20742, and sent back to
...
the ntp people.
2003-03-31 09:27:15 +00:00
grant
f125cd44b3
grammar tweak.
2003-03-31 08:44:22 +00:00
wiz
c57dfd43a9
A script, not an script.
2003-03-31 08:23:32 +00:00
perry
6562f25909
treashold->threshold, from Igor Sobrado in PR misc/20740
2003-03-31 01:34:57 +00:00
perry
4eabc653ac
OpenProm -> openprom (apparently how Sun prefers it.)
...
inteteger -> integer
rts/cts -> RTS/CTS
xon/xoff -> Xon/Xoff
All from Igor Sobrado, PR misc/20737
2003-03-31 01:31:39 +00:00
perry
339d3e41ad
Incresed->Increased, Micheal->Michael, from Igor Sobrado PR misc/20739
2003-03-31 01:23:30 +00:00
perry
e774a083b5
exeeds->exceeds, from PR misc/20741 (Igor Sobrado)
2003-03-31 01:14:14 +00:00
perry
bbf77a1edf
dialling->dialing (from me)
...
substition->substitution (from Igor Sobrado, PR misc/20744)
2003-03-31 01:09:08 +00:00
perry
893cb2b5a6
spelling fixes, including some pointed out by Igor Sobrado in
...
PR misc/20745
I've submitted the changes back to paulus@samba.org
2003-03-31 01:00:13 +00:00
perry
338db96096
recieving->receiving, escript->script, fixes PR misc/20746 (Igor Sobrado)
2003-03-31 00:45:39 +00:00
perry
eafc4fe7d1
MERCHANTIBILITY->MERCHANTABILITY
...
4.4bsd->4.4BSD
PR misc/20747 from Igor Sobrado
Note he also asked for NSFNet -> NSFNET which I didn't do -- it seems
arbitrary and unneeded.
XXX Patch submitted back to traceroute@ee.lbl.gov -- are they still active?
XXX Should this be converted to mdoc?
2003-03-31 00:32:54 +00:00
perry
e1b82b39a9
ipng->IPng, from Igor Sobrado in PR misc/20755 (though its a nit, ipng is fine.
2003-03-30 23:53:22 +00:00
wiz
d59e6d5863
HP-UX, not HPUX. Igor Sobrado, PR 19678.
2003-03-30 21:37:52 +00:00
wiz
e12ef9aab2
Uppercase DEC. PR 19678 by Igor Sobrado.
2003-03-30 21:24:48 +00:00
wiz
3425830569
Uppercase ULTRIX. Igor Sobrado in PR 19678.
2003-03-30 21:20:17 +00:00
lukem
6ddeaceaff
Tweak Jason's -x support to pass its state around as part of fsinf_t,
...
just like all the other "global" options.
Update the usage for -x.
Crank date on man page.
(Thanks to Jason for adding -x; I've been meaning to add that
functionality for a while :-)
2003-03-30 00:05:07 +00:00
thorpej
1bcb9d76fb
Add a -x option which causes makefs(8) to exclude any file system node
...
not explicitly listed in the specfile.
2003-03-29 00:12:12 +00:00
perry
f13ae3a980
fix the fix, from Brian Ginsbach
2003-03-28 17:40:39 +00:00
perry
687a657d3e
Add a -R flag to lpr, which prints the print job number
...
Make lp use the -R flag to lpr unless the lp -s flag is used.
This fixes standards/17917, patches and PR from
Brian Ginsbach <ginsbach@cray.com>
2003-03-28 14:37:43 +00:00
jdolecek
1a1dbfb0b3
enable SMB support
2003-03-28 11:06:32 +00:00
perry
266f8437dd
Fix the broken -q option to lpr, apparently broken long ago after lpr
...
was converted to getopt.
Also, document the -q option.
Fix supplied by Brian Ginsbach in PR #20890
2003-03-27 16:25:28 +00:00
yamt
4962bbeda1
bump date.
2003-03-27 16:00:50 +00:00
yamt
0aaf666dea
add a new option, -r; read-only configuration.
2003-03-27 15:36:02 +00:00
hubertf
25f2d6e581
Bump to "20030325" after today's changes from seb and me
2003-03-24 23:33:44 +00:00
seb
f34edd6ece
Pkg_add fix: if an install script is present move it into LogDir
...
(PKG_DBDIR/PKGNAME). Address PR pkg/20856 and part of PRs pkg/20852,
pkg/20853 and pkg/20854 by FUKAUMI Naoki <naoki at fukaumi dot
org>.
Note: with this change pkg_tarup can now produce reusable binary
packages from installed packages when they depend on an install
script.
2003-03-24 22:13:54 +00:00
seb
3273d1bc8b
Consistently check findmatchingname() return value for error condition.
...
Among other this fixes 'pkg_info -e whateverpkg' exit status when
/var/db/pkg is missing: it is now 1 and not 0.
2003-03-24 21:44:45 +00:00
hubertf
6b5ef93cc3
Implement remaining TODO item in pkg upgrade (pkg_add -u):
...
* Upgrade step 1/4: Check if the new version is ok with all pkgs
* (from +REQUIRED_BY) that require this pkg
Inspired by bsd.pkg.mk's upgrade(?) target.
2003-03-24 13:47:13 +00:00
wiz
41a412a662
Uppercase MASSBUS, addresses PR 20722.
2003-03-21 23:42:45 +00:00
wiz
70fd69c1f5
New sentence, new line; bump date for recent changes.
2003-03-17 08:19:22 +00:00
wiz
c434363e30
Bump date for recent change.
2003-03-17 08:16:10 +00:00
wiz
5ef9540a69
hexadecimal, not hexidecimal.
2003-03-16 21:55:14 +00:00
wiz
8d68f8869a
hexadecimal, not hexidecimal. PR 20738 by Igor Sobrado.
2003-03-16 20:41:33 +00:00
yamt
f9cc84c69d
getlock: detect duplicated locks slightly correctly.
...
XXX how should we do for byte range lock?
2003-03-16 09:05:56 +00:00
matt
e86e032c61
Make cfroots const.
2003-03-16 08:09:58 +00:00
yamt
acc9d6c0f9
for lock/unlock requests, log svid as well as client name.
2003-03-16 06:55:47 +00:00
wiz
83de4abed2
Use "its" instead of "it's" where appropriate.
...
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz
66793552fe
Fix two typos, from Igor Sobrado in PR 20722.
2003-03-15 22:30:37 +00:00
hubertf
89b4984304
Catch one more place that could result in Current not being set properly
...
(and thus in the execution of "rm -fr /") if ^C is pressed at the wrong time.
See also PR 19436.
2003-03-15 20:54:25 +00:00
agc
9d52ce445c
Bump version string for pkgdb_dump changes.
2003-03-15 20:50:13 +00:00
agc
2c442ad8d2
Introduce a pkgdb_dump() function, which dumps the cache file of
...
(filename, package) pairs.
Modify calling functions to use pkgdb_dump() directly, rather than
sequences of
pkgdb_open
{ pkgdb_iter, pkgdb_retrieve }
pkgdb_close
calls.
Remove the now unnecessary pkgdb_iter function.
2003-03-15 20:49:25 +00:00
wiz
37a402fc28
IPv4/IPv6, not IPV4/IPV6.
2003-03-15 19:26:08 +00:00
wiz
46ebb6111a
Correct spelling of "overridden". Found in follow-up to PR 20718.
2003-03-15 19:24:02 +00:00
christos
c2b5bf99ef
PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3)
...
I simplified the patch addressed certain security concerns. I only
allowed setusercontext() to set resource limits/priority and umask,
because these are the values that are relevant from login.conf. The
rest of the settings (uid/gid/initgroups) should be done using e->uid
and e->gid like they were before, not from:
struct passwd *pwd = getpwnam(getenv("LOGNAME"));
Finally login_cap's (path/env) are irrelevant in this context since
we want to use our e->envp anyway to execute the command.
2003-03-14 21:56:07 +00:00
itojun
626b1896ed
correct use of sizeof
2003-03-14 18:43:52 +00:00
itojun
b34ce1c186
add missing ND option length validation. from kame
2003-03-14 18:32:42 +00:00
jrf
151509e229
This addresses PR 20156. isalnum(), isdigit() and isspace() are used with
...
char as a parameter. On platforms with char signed by default, those are wrong.
Thanks to Christian Biere christianbiere@gmx.de for the patch he supplied.
I tested the patch and agc approved it for commit.
2003-03-14 16:56:39 +00:00
yamt
3f4a2b19c2
fix a typo in the previous.
2003-03-14 14:10:00 +00:00
yamt
c5c265a7aa
use strlcpy instead of strncpy.
2003-03-14 14:08:44 +00:00
yamt
f947a8c4c1
use LIST_FOREACH macro.
2003-03-14 14:03:00 +00:00
yamt
44f53bece1
for fork'ed children, use _exit instead of exit.
2003-03-14 13:53:08 +00:00
yamt
3337a32246
- protect from pid reusing.
...
- fix a null dereference on the error.
2003-03-14 13:46:23 +00:00
thorpej
0164fc61c8
We don't actually need libutil when building as a hostprog.
2003-03-13 04:50:53 +00:00
lukem
e5f384735d
support 1234 and 4321 as valid byte-order arguments for -B
2003-03-10 10:02:58 +00:00
wiz
97808774c1
Restore RCS Id, lost during last update.
2003-03-09 17:57:50 +00:00
mjl
b0d37030cd
Revert previous changes. Add a comment to the source explaining the
...
reason things are as they are -- Perry said:
This (using err("mailwrapper")) is intentional. Mailwrapper plays ugly
games with argv[0] and thus it is often difficult for people to know
that the error isn't from "mailq" or "sendmail" but from
mailwrapper -- having mailwrapper add an indication that it was really
mailwrapper running was a requested feature.
2003-03-09 08:10:43 +00:00
christos
a9085b5c40
disable YP and HESIOD in config.h, and mention why... (thanks uwe)
2003-03-09 01:55:48 +00:00
christos
37deef3cda
adjust to 6.1b2
2003-03-09 01:36:38 +00:00
mjl
f20e680162
Correct args to err(), no need to include "mailwrapper:" prefix manually.
...
Triggered by posting to OpenBSD mailing list.
2003-03-08 22:57:51 +00:00
perseant
af18198dff
Add option to check partial-segment data checksums.
2003-03-07 22:50:09 +00:00
fvdl
c6fc01f541
Use both -I. for generated .h files, and -I${.CURDIR} for include "foo"
2003-03-07 01:31:30 +00:00
fvdl
2130087152
This seems to need a -I${.CURDIR} these days.
2003-03-07 01:06:05 +00:00
martin
5005fdb656
Run "arrival" scripts too in the inital pass on startup.
...
Open the routing socket before this pass to close a small window where
we would miss messages at startup (and get state kept by the scripts
out of sync).
Patch supplied by KOIE Hidetaka in private mail.
2003-03-06 13:33:29 +00:00
wiz
54ad96333d
Build map-mbone, mrinfo, mrouted, and mtrace from usr.sbin again instead
...
of gnu/usr.sbin, now that the license has been cleared.
2003-03-05 22:09:07 +00:00
wiz
22c010e66d
Update license, from OpenBSD.
2003-03-05 22:04:59 +00:00
wiz
e6f08c9f93
Move back here from gnu/dist/mtrace now that mrouted license is cleared.
2003-03-05 22:02:03 +00:00
wiz
9aeb2c2f6a
Add license, from OpenBSD.
2003-03-05 21:59:59 +00:00
wiz
ba718fd8b9
Move back here from gnu/dist/mrinfo now that mrouted license is cleared.
2003-03-05 21:58:20 +00:00
wiz
d67d82e27f
Add license, from OpenBSD.
2003-03-05 21:56:26 +00:00
wiz
b22b38318c
Move back here from gnu/dist/map-mbone now the mrouted license is cleared.
2003-03-05 21:55:51 +00:00
wiz
7f3982ff72
Add RCS Id; new sentence, new line; at least one mdoc fix; sort sections.
2003-03-05 21:48:59 +00:00
wiz
6b7e50194b
mdocified man page from mpech@openbsd.org
2003-03-05 21:40:08 +00:00
wiz
2dd997ff9e
ANSIfy one more.
2003-03-05 21:32:51 +00:00
wiz
ff2bebb731
Use vsnprintf instead of vsprintf. From OpenBSD.
2003-03-05 21:15:18 +00:00
wiz
b4cca63351
Add license (from Xerox), from OpenBSD.
2003-03-05 21:12:26 +00:00
wiz
f74dd12ce6
License update from Stanford, via OpenBSD.
2003-03-05 21:07:14 +00:00
wiz
c60d41a9de
Move back from gnu/dist/mrouted, now that it's available under a BSD
...
license.
2003-03-05 21:05:38 +00:00
jmmv
fc6e93306c
Make the global XConsole variable static.
2003-03-05 10:51:43 +00:00
martin
549d82b84d
Add support for watching coming/going pccard interfaces.
...
Patch from KOIE Hidetaka in PR bin/20584.
2003-03-05 09:03:49 +00:00
jmmv
b74771a131
Create a pidfile while running (which can be tuned with the new "pidfile"
...
configuration variable). Ok'ed by christos.
2003-03-04 22:31:15 +00:00
jmmv
2ea5d53fe3
Avoid writing things to the fifo if it was not opened.
2003-03-04 19:43:09 +00:00
jmmv
73b21378a4
Check if configuration data exists before freeing memory.
2003-03-04 19:28:59 +00:00
jmmv
1d2af97bbf
Remove trailing whitespace.
2003-03-04 17:16:15 +00:00
jmmv
ba49f26643
Configuration file is optional, as well as sections inside it.
2003-03-04 14:38:25 +00:00
jmmv
68e2c80483
Add support to parse a configuration file, /etc/wsmoused.conf by default.
...
This file lets users tune the behavior of the daemon in a easy way, without
having to mess with command line options (nor in rc.conf).
It will also simplify future integration of new functionality within the
program as multiple "modes" of operator are recognized.
The new wsmoused.conf(5) manpage contains all related details.
Some error message cleanup and minor manpage fixes too.
Ok'ed by christos.
2003-03-04 14:33:55 +00:00
martti
f925d156c3
Checksum files produced by "etcupdate -a" should not be stored in /etc
...
as / might be a read-only filesystem (PR#20201).
2003-03-03 14:07:11 +00:00
wiz
7be6adb676
Bump date for mini-sendmail reference; add its pkgsrc path to SEE ALSO section.
2003-03-03 07:28:29 +00:00
mrg
5de60e100f
allow /etc/etcupdate.conf (and ~/.etcupdate.conf) to set IGNOREFILES to a list
...
of files that etcupdate will ignore; never considering them for updating.
2003-03-01 12:59:54 +00:00
enami
70378aeac7
- Account the number of lines consumed so that -xw displays header
...
frequently enough.
- As we are initializing dk_select to 0 (via dkinit), no need to check it.
- Re-order the code in display() to highlight the fact that -x is
exclusive with others.
- If user really specified some drives and none of them are found,
just bail out rather than falling back to default behaviour.
- Other misc. cosmetic changes while I'm here.
2003-03-01 07:40:58 +00:00
enami
51a7567d63
Sync with the behaviour change.
2003-03-01 07:35:41 +00:00
christos
d0ee51001e
PR/20435: KOIE Hidetaka: iostat -x ignores drive selection.
2003-03-01 05:38:11 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
b517ab4402
.Nm still needs "".
2003-02-23 23:40:47 +00:00
perseant
8685c52d63
Make the "-O" (start filesystem offset) flag to newfs_lfs work correctly,
...
and update fsck_lfs and dumplfs to deal with it. Note that while the argument
to -O is given in disk sectors, it must be a multiple of the fragment size,
and although it can be lower than the label or superblock, it can't intersect
either.
2003-02-23 04:32:05 +00:00
martin
89fe22c05c
Not all size_t's are equal to int...
2003-02-21 07:23:43 +00:00
simonb
aeb8d0ecad
Show the address of segment 0.
2003-02-21 04:01:07 +00:00
christos
c837eea5e5
- pass lint
...
- use size_t where appropriate
- use err/warn instead of printf, and don't hide the error messages from ioctl.
- keep units in sync (someone added integer in the header file and forgot
to update envsys.c)
2003-02-20 20:57:08 +00:00
dsl
c17244d768
Create session before setting logname - we don't want to change the
...
parents logname (or any other children pre-empted in that window).
2003-02-19 09:21:15 +00:00
perry
399b25deea
Clarify a bit, fix up the examples somewhat, etc.
2003-02-18 02:17:38 +00:00
perseant
b397c875ae
Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
...
(there are still some details to work out) but expect that to go
away soon. To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:
* Create a writer daemon kernel thread whose purpose is to handle page
writes for the pagedaemon, but which also takes over some of the
functions of lfs_check(). This thread is started the first time an
LFS is mounted.
* Add a "flags" parameter to GOP_SIZE. Current values are
GOP_SIZE_READ, meaning that the call should return the size of the
in-core version of the file, and GOP_SIZE_WRITE, meaning that it
should return the on-disk size. One of GOP_SIZE_READ or
GOP_SIZE_WRITE must be specified.
* Instead of using malloc(...M_WAITOK) for everything, reserve enough
resources to get by and use malloc(...M_NOWAIT), using the reserves if
necessary. Use the pool subsystem for structures small enough that
this is feasible. This also obsoletes LFS_THROTTLE.
And a few that are not strictly necessary:
* Moves the LFS inode extensions off onto a separately allocated
structure; getting closer to LFS as an LKM. "Welcome to 1.6O."
* Unified GOP_ALLOC between FFS and LFS.
* Update LFS copyright headers to correct values.
* Actually cast to unsigned in lfs_shellsort, like the comment says.
* Keep track of which segments were empty before the previous
checkpoint; any segments that pass two checkpoints both dirty and
empty can be summarily cleaned. Do this. Right now lfs_segclean
still works, but this should be turned into an effectless
compatibility syscall.
2003-02-17 23:48:08 +00:00
is
ca86df3f7e
Actually make additional arguments in mailer.conf useful, and document
...
them.
Reviewed by perry and wiz.
2003-02-17 21:18:46 +00:00
drochner
2b294580b8
add copyright notices
2003-02-17 20:07:06 +00:00
tron
62c4d50f34
Because signals are delivered synchronously via kqueue(2) there is no
...
reason to block and release them at various places.
2003-02-16 18:16:26 +00:00
tron
39e99fe8e3
Now that signal handling is done via kqueue(2) we need to enter
...
the event loop even if no sockets were created. This should fix
PR bin/20369 by Martin Husemann.
2003-02-16 17:57:34 +00:00
grant
806593a806
The correct capitalisation of 'NetBSD.org' is (you
...
guessed it) 'NetBSD.org'.
some mdoc fixes.
2003-02-14 16:11:34 +00:00
tron
726769ad02
Improve kqueue(2) utilization:
...
- Don't invoke kevent(2) for every single event change. Instead collect
event changes and try to do them in the event loop.
- Handle signals via kevent(2) to avoid race conditions for SIGHUP (which
probably exist in the select(2) based implementation, too).
2003-02-13 11:47:27 +00:00
christos
50455a9139
PR/20318: Johnny Billquist: rwhod does not compile with -DDEBUG
2003-02-12 17:49:35 +00:00
tron
d289c0d46f
KNF.
2003-02-12 10:03:47 +00:00
tron
8be719490d
Rewrite inetd(8) to use kqueue(2) for enhanced performance and scalability.
2003-02-12 08:52:03 +00:00
christos
3e354b00a7
ufs is ffs not ufs.
2003-02-11 16:17:13 +00:00
mrg
3b06b649fe
revert previous
2003-02-11 00:45:02 +00:00
mrg
dcd2b71575
no need for "pstat -T" to copyout() the entire vnode list , which can
...
take a Long Time on systems with large numbers of vnodes.
2003-02-10 23:58:27 +00:00
augustss
889cc758e5
Make this compile on non-NetBSD machines.
2003-02-05 22:47:38 +00:00
perry
8a49ec08e4
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
martti
18e623daf9
Use md5 instead of sum (bin/20196).
2003-02-04 08:33:03 +00:00
thorpej
9abf2fa449
Update for callout changes, and show TCP timers in relative, rather
...
than absolute ticks.
2003-02-04 01:22:08 +00:00
thorpej
a2ca4434b0
Test CALLOUT_PENDING, not CALLOUT_ACTIVE.
2003-02-04 00:20:50 +00:00
agc
7cb1f145f5
Add a check for the length of the login name given by the user.
...
Provided by Ben Collver in PR 20154
2003-02-03 12:20:46 +00:00
abs
e6dc31f0dc
Crank PKGTOOLS_VERSION to 20030202 for last_file fix
2003-02-02 20:54:17 +00:00
abs
fd83215c8b
Allow '%D' to be used when no last_file available. Fixes binary package
...
installation of gnome-dirs.
2003-02-02 12:59:53 +00:00
wiz
cd68fb44fb
guarantee, not guarentee. Idea from miod@openbsd.
2003-02-02 10:24:38 +00:00
christos
acc1cc5b41
undo mallocvar.h change!
2003-02-02 02:25:50 +00:00
tron
083ed45586
Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
...
build failure because MALLOC_DECLARE() is not defined.
2003-02-01 21:05:54 +00:00
wiz
b7e50f132b
Make '?' work in interactive mode. Fixes PR bin/19949 by Christian Biere.
2003-02-01 17:13:14 +00:00
wiz
69ffc10a99
Switch soft and hard, per PR 20135.
2003-01-31 12:53:32 +00:00
wiz
9115df8c49
success, not sucess. Noted by mjl.
2003-01-28 22:35:02 +00:00
wiz
7bd6fd354d
unknown, not unkown. Noted by mjl.
2003-01-28 22:19:22 +00:00
mrg
ab09fc008e
make this build on alpha after daddr_t->64bit
2003-01-28 08:22:08 +00:00
mrg
a1f69dd514
make this build on alpha after daddr_t->64bit
2003-01-28 07:44:54 +00:00
thorpej
a151e17b89
Allow pseudo-devices to be declared with an interface attribute. For
...
such pseudo-devices, create cfdrivers for them which carry the appropriate
attributes. This allows devices in the config file to be attached to
pseudo-devices.
2003-01-27 05:00:54 +00:00
uwe
85b406eda9
s/ulong/unsigned long/. ulong is for SysV compatibility, there's no
...
point in using it in our code. This change makes makefs(8) compile on
host systems without ulong.
2003-01-27 01:34:09 +00:00
uwe
59e06de8b5
When built as a host tool, don't search /dev as we only use sunlabel
...
on the disk image. This ifdefs out a call to getrawpartition() so we
don't have to provide a compatibility replacement for it.
2003-01-27 01:29:06 +00:00
christos
c5011d1086
PR/20065: John F. Woods: Fix pluggin compilation
2003-01-26 17:34:19 +00:00
fvdl
a3ff3a3038
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
...
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
wiz
e92b96aa79
grammar fix.
2003-01-24 13:08:22 +00:00
martti
c7d6e073eb
Add a new -a flag (automatically update files which have not been
...
locally modified). Patch provided by Sverre Froyen in a private mail,
slightly modified by me.
2003-01-24 13:06:06 +00:00
gehenna
c8d83dee30
Accept the block-device-only devices.
...
Reported by ragge.
2003-01-23 15:05:45 +00:00
gehenna
d0c0162e9c
Not necessary to put fixdevmtab in global section.
2003-01-23 15:03:44 +00:00
gehenna
02681cddbc
check the duplication or the inconsistency before evaluating fopts.
2003-01-23 15:01:54 +00:00
gehenna
27e67caceb
reject the duplication of the same device-major lines.
2003-01-23 14:57:40 +00:00
gehenna
2c4d3430fb
fix typo.
2003-01-23 14:55:39 +00:00
jmmv
4c30a46c79
Fix typo in first form synopsis: -k does not require -r. Okay'ed by wiz.
2003-01-22 20:50:47 +00:00
itojun
9c298b2da2
sysctl/setsockopt takes int, not u_long.
2003-01-21 09:15:54 +00:00
itojun
8a8d344fd5
fix arg size to IPV6_UNICAST_HOPS socket option. Hiroki Sato
2003-01-21 07:55:17 +00:00
simonb
d7b879c6ec
Grrr. So much for my ability to use grep(1) effectively. Pointed out
...
by Stephen Degler in private mail.
2003-01-20 07:12:12 +00:00
simonb
276fd1665c
The Double-Semi-Colon Police.
2003-01-20 05:29:53 +00:00
simonb
46f45ff547
KNF- blank line at start of a function with local variable declarations.
2003-01-20 01:14:35 +00:00
atatat
dd0a8acd21
The next release will be 2.0, not 1.7.
2003-01-19 21:25:36 +00:00
wiz
1abdd319af
No trailing whitespace, please.
2003-01-19 00:13:21 +00:00
jrf
bf7aac421e
Added -v extension. Approved by Klaus (kleink).
2003-01-18 18:37:07 +00:00
kleink
b3df6303a9
Rename `sigset' locals to avoid symbol shadowing warning.
2003-01-16 09:38:37 +00:00
mhitch
e7852b0563
Add support for amiga.
2003-01-15 06:33:13 +00:00
augustss
9ef59a8538
Flush stdout before callong daemon(). Fixes bin/19657.
2003-01-12 13:49:54 +00:00
christos
1748ad5426
fix usage [add -r]
2003-01-11 23:44:47 +00:00
agc
17a35e2e99
Introduce the notion of "preserving" an installed package.
...
A preserved package may not be deleted by pkg_delete(1) (unless the -f
option is given), and the preserved capability will be carried into
any binary package. pkg_add(1) will also keep the preserved capability
if it was present in the binary package.
The "preserve" capability can be given to a package by using the
PKG_PRESERVE definition in a package Makefile in pkgsrc.
Ride on the recently-bumped lib/version.h for new functionality.
2003-01-10 11:55:44 +00:00
agc
51ace543e3
Order the getopt(3) options alphabetically.
2003-01-10 10:55:25 +00:00
agc
295b90edfd
order the getopt options alphabetically.
2003-01-10 10:43:50 +00:00
agc
82e88920e0
Add a pkgdb_remove_pkg() function and use it in pkg_delete(1).
...
Bump lib/version.h due to added functionality.
2003-01-10 10:17:21 +00:00
taca
eb37d628b3
Fix compile error with DEBUGMAIN.
2003-01-07 15:04:54 +00:00
tron
7c891035f6
Use "%u" instead "%d" in format string for bytes count reported at
...
termination. This should fix PR bin/19713.
2003-01-07 09:02:21 +00:00
christos
4a51bd3d7b
update for struct renaming; noticed by David Laight.
2003-01-06 15:23:11 +00:00
hubertf
6824dad608
fix english
2003-01-06 14:43:01 +00:00
wiz
c053751628
compatibility, not compatiblity.
2003-01-06 13:26:24 +00:00
wiz
45ad5c9584
successful with only one l.
2003-01-06 12:46:05 +00:00