NetBSD/libexec
mycroft 86103e2f0e Several small changes that shave 7-8% off the simple-exec-loop test:
* Rename _rtld_find_library() to _rtld_load_library().  It now calls
  _rtld_load_object() if necessary to actually load the object, rather
  than having the caller do it.  To do this, it also takes the `mode'
  argument that gets passed to _rtld_load_object().

* On a related note, remove _rtld_check_library(), and instead call
  _rtld_load_object() to instead try actually loading the object.  We
  save two extra namei's and a bunch of redundant work (almost
  literally the same code) this way.

* In _rtld_map_object(), mmap(2) the first page read-only, rather than
  read(2)ing it.

* In _rtld_symlook_obj(), compare the *second* character of the symbol
  name before calling strcmp().  (This first character is too
  frequently `_', and turns out to not be helpful, in libc.)

* Also in _rtld_symlook_obj(), remove the bogus STT_FUNC special case
  -- this also allows removing the `in_plt' argument to
  _rtld_symlook_list() and _rtld_symlook_obj().

Also:

* In _rtld_obj_from_addr(), rather than trying to look up `_end' in
  the each object, instead use obj->mapsize as the upper bound.
2002-09-23 23:56:46 +00:00
..
atrun use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
comsat strncpy() -> strlcpy() 2002-03-18 23:34:21 +00:00
cron
fingerd Bump date for -8. 2002-09-12 10:06:51 +00:00
ftpd use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
getNAME improve description of options - particularily, avoid repeating the option 2002-03-08 20:59:08 +00:00
getty null commit 2002-09-23 12:44:34 +00:00
hpropd Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 13:54:34 +00:00
identd null commit 2002-09-23 12:44:34 +00:00
kadmind Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 13:54:34 +00:00
kpasswdd Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 13:54:34 +00:00
ld.aout_so Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 13:54:34 +00:00
ld.elf_so Several small changes that shave 7-8% off the simple-exec-loop test: 2002-09-23 23:56:46 +00:00
lfs_cleanerd Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 13:54:34 +00:00
mail.local __STDC__ is always defined on NetBSD. 2002-05-26 00:02:06 +00:00
makekey Whitespace nit. 2002-01-15 02:23:28 +00:00
makewhatis use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
rexecd null commit 2002-09-23 12:44:34 +00:00
rlogind null commit 2002-09-23 12:44:34 +00:00
rmail Punctuation nit. 2002-01-15 02:25:08 +00:00
rpc.rquotad Make this file explicitely public domain. 2002-06-09 17:10:44 +00:00
rpc.rstatd use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
rpc.rusersd Whitespace nits, sort SEE ALSO. 2002-01-15 02:27:03 +00:00
rpc.rwalld Whitespace nits. 2002-01-15 02:27:15 +00:00
rpc.sprayd Whitespace nits. 2002-01-15 02:27:15 +00:00
rshd null commit 2002-09-23 12:44:34 +00:00
talkd find_user() in process.c does an unbounded copy into a destination 2002-09-19 14:39:51 +00:00
telnetd Use the argument to stilloob() for the poll... 2002-09-20 19:13:24 +00:00
tftpd use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
utmp_update minor makefile delint 2002-09-18 06:17:38 +00:00
uucpd support utmpx 2002-08-20 14:01:49 +00:00
Makefile don't build kfd; there are security issues with heimdal 0.4e, and we 2002-09-10 22:17:04 +00:00
Makefile.inc Format string cleanups by sommerfeld. 2000-10-10 19:54:37 +00:00