Commit Graph

1878 Commits

Author SHA1 Message Date
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
lukem 2cc6fff994 Fix typos accidentally introduced in rev 1.70 as part of the large
number support.
(NetBSD yacc didn't barf on these, although Solaris and HP/UX's did...)
2003-03-03 01:52:13 +00:00
mycroft 7cbba1750d Shorten rtld_start() by 2 instructions or 8 bytes, and make it not use GOT
entries.
2003-03-02 22:56:14 +00:00
mycroft d2fd5f837d Shorten rtld_start() slightly -- there's a base-relative _DYNAMIC pointer at
the beginning of the GOT, so we don't need an extra one here.  Also, remove a
bogus comment -- we do in fact have to do fixups, because there are pointers in
ld.elf_so's data segment that need to be relocated.
2003-03-02 22:03:40 +00:00
perseant 5646727e5a Let the cleaner use LFCNRECLAIM to help empty segments along, if it
thinks it needs to clean and segments are tantalizingly lingering
in the "empty but dirty" state.
2003-03-02 04:38:20 +00:00
mycroft 33131cb294 Update copyright. 2003-03-01 15:14:59 +00:00
christos 861ff9be73 we have constants for all this crap. don't hard-code things. 2003-02-28 23:05:24 +00:00
mycroft 9939b38056 Eliminate GOT usage in rtld_start() on this platform, too. 2003-02-28 22:37:35 +00:00