bouyer
50a25ded2d
memset(0) ext_getq_args before use. Should fix bin/22592 by Mark Davies.
2003-09-20 22:25:29 +00:00
itojun
0c4a8b5a7e
realloc pedant
2003-09-19 06:01:24 +00:00
itojun
4698292ea9
realloc pedannt
2003-09-19 05:52:48 +00:00
itojun
ba0ee95e6c
realloc pedant
2003-09-19 05:50:41 +00:00
itojun
143464d11e
realloc mistake
2003-09-19 05:41:33 +00:00
itojun
6e4e427990
realloc mistake. from openbsd
2003-09-19 05:33:15 +00:00
christos
81e1fcb367
downgrade the accept error to a warning so that we don't exit if we are being
...
port scanned.
2003-09-14 22:38:23 +00:00
mycroft
5bd33bcad6
Back out revision 1.100. There is something screwier going on.
2003-09-07 22:17:43 +00:00
wiz
47190e80b8
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
...
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
itojun
013cd625a4
use arc4random
2003-09-06 12:52:10 +00:00
mycroft
323a574dc3
dlsym() should not leave an error set. It confuses programs that check
...
dlerror() (such as pkgsrc/graphics/transcode).
2003-08-31 21:52:01 +00:00
lha
afad8d1f7c
libkrb depends on libdes, patch in private mail from
...
Harold Gutch logix at foobar franken de
2003-08-23 23:03:42 +00:00
lha
be9358159d
libkrb depend on libdes
2003-08-18 07:23:45 +00:00
skrll
d900731978
Resolve dlsym(3) and friends directly so that dlsym(RTLD_NEXT,...) works.
...
Previously dlsym resolved to the version in crt0.o or libc which would
mean that the caller's shared object couldn't be determined correctly
using __builtin_return_address(0).
Mainly from FreeBSD, but adapted by me. Benefits of this solutions are:
- backward comptibility maintained
- existing broken binaries are fixed with a new ld.elf_so
- __mainprog_obj can be removed from crt0.o
- we do the same thing as FreeBSD
Fixes PR 22067.
OKed by Jason and Christos.
2003-08-12 09:18:38 +00:00
agc
8e6ab8837d
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
skrll
59b0f10729
KNF
2003-08-05 19:41:53 +00:00
lha
0fe8a8550f
libkrb depend on libdes
...
libkrb5 depends on libasn1 and libcrypto
2003-08-05 10:45:42 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
mrg
88bb1d9b3b
include <string.h> or <stdlib.h> for all prototypes
2003-07-26 15:04:38 +00:00
skrll
5f573ab68d
ANSIfy and de-__P().
2003-07-24 10:12:25 +00:00
itojun
e63468d8cc
split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
...
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00
matt
9925d4a0c7
Since telnetd has ignored the USER environment variable for logging in for
...
quite a bit of time, make telnetd ignore it completely now. This results
in the :if=: entry in the default gettytab entry to honored instead of
being ignored. The -h option to telnetd will continue to suppress the
inclusion of :if=:
2003-07-22 00:03:26 +00:00
skrll
ddc9322f3b
Support immediate binding on arm.
2003-07-21 15:34:35 +00:00
skrll
b2695e5a1f
arm and sh5 also have bogus DT_TEXTRELs. sh5 was already covered so just
...
update the comment.
2003-07-21 15:17:55 +00:00
skrll
619dee76f6
Correct the in_plt parameter of a couple of _rtld_find_symdef calls.
...
The mips_reloc.c case is a no-op as _rtld_symlook_obj ignores in_plt for
MIPS.
OK'ed by Charles.
2003-07-17 13:56:32 +00:00
wiz
f3a3343ca8
Bump date for -r removal.
2003-07-16 11:31:25 +00:00
itojun
e26b0e0cf5
stop installing install libtelnet. build under lib/libtelnet and reference
...
it from usr.bin/telnet and libexec/telnetd.
(reason for separate build: compiler flags)
2003-07-16 05:42:01 +00:00
itojun
427af575fe
use bounded string op. bump shlib major for libtelnet due to API change.
2003-07-15 10:14:54 +00:00
skrll
d4cfd1c666
s/_rltd_obj_rtld/_rtld_objself/ in #ifdef notyet code.
2003-07-15 07:39:55 +00:00
skrll
9192c2eed4
Whitespace
2003-07-15 07:38:29 +00:00
itojun
3d8f7dcfb1
use snprintf
2003-07-15 05:03:49 +00:00
itojun
47d8f56c50
more cleanups
2003-07-14 16:23:40 +00:00
itojun
261e336de5
SIGINFO is defined
2003-07-14 16:17:37 +00:00
itojun
311ed76391
remove unused function
...
XXX what's the difference between #ifdef UTMPX and #ifdef SUPPORT_UTMPX
2003-07-14 16:16:42 +00:00
itojun
625dced967
remove unneeded #ifdefs. improves readability.
...
(confirmed that exact same *.o is produced)
2003-07-14 15:55:53 +00:00
itojun
1d041f9dd7
use bounded string op (some remains)
2003-07-13 12:04:45 +00:00
itojun
e19eff3a82
asprintf is easier
2003-07-13 12:00:55 +00:00
itojun
6e7ade5e3e
use bounded string ops. check malloc failure. asprintf is easier than
...
complicated strcat/strcpy combination.
2003-07-13 09:44:02 +00:00
itojun
aa50bfde15
use bounded string op (there still are remains)
2003-07-13 09:40:20 +00:00
lukem
001c68bd94
Rename a large chunk of the make(1) variables which refer to a
...
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
marcus
fae2567c9b
Removed unused function.
2003-07-05 20:48:39 +00:00
tsutsui
0e65101f60
Add function prototype declarations.
2003-07-05 18:18:51 +00:00
tsutsui
e40b9a1c1d
Include <stdlib.h> for exit(3) prototype, warned by gcc-3.3.
2003-07-05 12:34:12 +00:00
wiz
13886c157c
Bump date for last but one.
2003-07-04 12:11:45 +00:00
wiz
a03d9214b1
s/&/and/
2003-07-04 12:11:02 +00:00
marcus
a4878b4349
Bugfix: Don't pick addend both from reloc and contents at the same time.
2003-07-02 15:29:34 +00:00
tacha
3bab95ce42
Add ftpd_loginx() and ftpd_logwtmpx() and use them to hold wtmpx file
...
open while a session.
Close bin/21692 by bqt@Krille.Update.UU.SE .
2003-06-30 03:06:06 +00:00
marcus
6aeeb40d4a
Updated to work with current rtld code.
2003-06-30 00:50:46 +00:00
marcus
5404577abf
SH also has a bogus DT_TEXTREL, it seems.
2003-06-30 00:49:25 +00:00
wiz
ac4f069fda
Add Ns.
2003-06-27 18:59:54 +00:00
christos
1e3cf33d74
fix botch in sysctl arg.
2003-06-27 18:37:48 +00:00
wiz
3393c12171
Add Ns where needed.
2003-06-26 18:09:39 +00:00
wiz
f788cad16f
Remove superfluous Ns and quoting.
2003-06-26 18:09:06 +00:00
christos
cf96f20a95
Rewrite from scratch; modify sysctl so that it does not abuse the new pointer.
2003-06-26 17:31:12 +00:00
christos
be4bd83a25
No need to define _KERNEL
2003-06-26 16:23:53 +00:00
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