Commit Graph

1885 Commits

Author SHA1 Message Date
joff 2c4a7474a0 use TCP_NODELAY 2003-06-14 22:43:31 +00:00
wiz 9e7c0f3178 Do not hardcode "nroff", allow it to be overridden by defining NROFF. Useful for tools/makewhatis. 2003-06-14 17:56:24 +00:00
wiz fee392c197 Report on which file nroff returned an error. 2003-06-14 16:58:00 +00:00
drochner 96b62d8a69 no need to #include <sys/dkstat.h> 2003-06-11 17:26:31 +00:00
briggs 4441128638 Support negotiation and use of TFTP Option Extension (rfc 2347) for the
'blksize' option (rfc 2348) and the 'timeout' and 'tsize' options (rfc 2349).

Contributed by Wasabi Systems, Inc.
2003-06-11 01:43:52 +00:00
simonb a9f5b3f871 KNF- blank lines before code at start of functions. 2003-06-05 10:41:32 +00:00
christos 683092605c Add RTLD_FIRST, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD 2003-05-30 15:43:33 +00:00
petrov 458dbd70ac Fix alignment problem in debug output.
Happens only under RTLD_DEBUG_RELOC.
2003-05-23 20:13:50 +00:00
wiz cb04db5a91 Bump date for "nn" capability. 2003-05-20 19:40:53 +00:00
thorpej 2c1e482672 Add a "nn" (no name) capability to getty. If set in gettytab, getty
will not prompt for a login name, and will not pass one along to the
login program.  This can be used to accomodate login programs that have
an alternate way of selecting the user to log in.
2003-05-20 19:20:03 +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 22795e9102 use strlcpy 2003-05-17 22:57:30 +00:00
itojun 3e6b78200d use strlcat 2003-05-17 22:56:31 +00:00
itojun bf792c0c43 string manipulation audit 2003-05-17 22:54:55 +00:00
itojun f4a82bcf1f strlcat is easier here 2003-05-17 22:50:29 +00:00
itojun 936d35bb1b use strlcpy 2003-05-17 21:28:53 +00:00
itojun 5a8065df69 string manipulation cleanup 2003-05-17 21:26:47 +00:00
itojun bb3fc85900 use snprintf 2003-05-17 21:24:38 +00:00
itojun 792f67c795 string manipulation cleanup 2003-05-17 21:20:09 +00:00
itojun c5f76786a4 use strlcpy 2003-05-17 21:18:46 +00:00
itojun 0f00216d14 string manipulation cleanup 2003-05-17 21:17:43 +00:00
wiz d43e332f1e setup -> set up. 2003-05-14 12:11:03 +00:00
christos cc1171039e PR/21233: Onno van der Linden: -U option does not work as advertised. 2003-05-09 20:50:35 +00:00
christos ac8c3de3b3 PR/21515: Onno van der Linden: Fix typo preventing %v from working. 2003-05-09 20:43:47 +00:00
agc 0134b3c484 Pull in <sys/param.h> explicitly. 2003-04-29 17:22:01 +00:00
mycroft f57f7ac072 Back out previous change for now -- it needs more work. 2003-04-24 16:55:29 +00:00
mycroft 8826c5e475 Attempt to give dlsym() the same symbol-searching semantics as _rtld_bind().
Tested in a handful of cases.
Reviewed by: a dead silence
2003-04-23 17:40:25 +00:00
tron 8e10566c2f Output a usefull error message if sysctl(3) fails. 2003-04-22 16:42:00 +00:00
itojun 39d6020d8a backout 1.18 and 1.19 2003-04-22 03:51:07 +00:00
itojun e2d8f394cc free vis_user 2003-04-22 03:03:16 +00:00
itojun 750506085f malloc vis_user (why 1.6 branch has the fix already?) 2003-04-22 03:02:14 +00:00
scw 0b8f02edad Handle unaligned relocations, and RELATIVE relocs with non-zero addends.
This gets binaries linked against libstdc++ working (FSVO "working").
2003-04-21 11:54:46 +00:00
christos 99437fe16f PR/2352: Tor Egge: Use sysctl to get uid. 2003-04-19 20:57:35 +00:00
perry 626a48a033 rmail really shouldn't be invoking sendmail with "-odq" ("queue only")
any more -- this drastically slows delivery because the next queue run
might be an hour away.
Pointed out by Takahiro Yugawa PR bin/21018
He suggested changing to -odi, but I've changed to -odb (background
delivery) instead.
I've left an #ifdef QUEUE_ONLY for those who would like to build the
old way, but I'm not expecting any. I've also heavily commented this
line of code to explain the issues to anyone reading it later on.

I would have made this a run time command line flag, but it isn't like
you can change rmail's arguments given the uucp architecture, and
besides, UUCP is mostly dead...
2003-04-05 17:45:11 +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 01788f947d behaviour->behavior
I actually really like the UK spelling on this, but consistency among
our man pages is also a virtue.
2003-03-31 17:05:12 +00:00
perry 29e8ef357f spell fixes (most from me, one from Igor Sobrado in PR misc/19700) 2003-03-31 01:51:01 +00:00
jdolecek bcc4e12368 s/USER-ID/USERID/ in response when -L is used
fixes PR bin/20911 by der Mouse
2003-03-27 22:32:59 +00:00
scw e6b13790fa SH5 needs __HAVE_FUNCTION_DESCRIPTORS defined in order for ld.elf_so
to resolve SHmedia function pointers correctly.
2003-03-26 14:46:32 +00:00
scw d174ad2eab Add support for shared libraries/dynamically linked binaries on sh5.
With the latest SuperH toolchain, NetBSD/evbsh5 can now
run with a fully dynamic userland (modulo a few remaining
gremlins affecting a couple of binaries).
2003-03-25 13:11:53 +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 a6bd266319 Correct spelling of "preferred". From PR 20716 by Igor Sobrado. 2003-03-15 19:15:58 +00:00
hannken a775363fd5 Dont call gettimeofday on a rpc timeval.
This fails on sparc64 because rpc timeval elements are int
and timeval elements are long.
2003-03-09 10:33:04 +00:00
taca 28d2056e12 make it compile in /usr/src/rescue directory. 2003-03-06 17:01:27 +00:00
matt 7b28c56025 Align psections to their specified alignment (if possible). Use
mmap(2) MAP_ALIGNED.
2003-03-06 07:34:56 +00:00
dsl 0e023253c0 Call setsid so we get our own logname.
(approved by christos)
2003-03-03 19:05:09 +00:00
dsl 41880aca75 Call setsid so we don't change inetd's logname (and that of our peers).
(approved by christos)
2003-03-03 18:57:53 +00:00
dsl 2bc2d2208d Call setsid() before (setusercontext() calls) setlogin() so we don't change
the username of inetd and everyone else that is logged in.
(approved by christos)
2003-03-03 18:29:55 +00:00
dsl de1c071819 Call setsid() so that setlogname doesn't affect our parent and siblings.
(approved by christos)
2003-03-03 17:14:36 +00:00
lukem b018fb8971 Don't declare "yylex()" static; AFAICT it shouldn't be, and it causes
build problems with the output of some versions of yacc.
2003-03-03 02:14:57 +00:00