summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* - use issetugid()mdodd2003-05-311-3/+2
| | | | | | - be paranoid about honoring LD_LIBMAP_DISABLE. Suggested by: rwatson
* Simplify map_object() by breaking out the ELF header validation bitsmdodd2003-05-311-58/+67
| | | | into a separate function.
* Provide function entry debugging messages.mdodd2003-05-311-1/+16
|
* Use the environment variable LD_LIBMAP_DISABLE to disablemdodd2003-05-312-3/+11
| | | | libmap.conf(5) functionality.
* Don't post-increment pointers inside a loop conditional.mdodd2003-05-301-11/+11
| | | | | | | | | | | While I'm here: - Let lm_add() call strdup() on its own behalf. - Use a temporary pointer when parsing constraints; only set the constraint pointer on a totally successful match. PR: bin/52783 Submitted by: David P. Reese Jr. <daver@gomerbud.com> Approved by: re (rwatson)
* Allow threading libraries to register their own lockingkan2003-05-2920-480/+558
| | | | | | | | | | implementation in case default one provided by rtld is not suitable. Consolidate various identical MD lock implementation into a single file using appropriate machine/atomic.h. Approved by: re (scottl)
* Do not exclude amd64 from rtld-elf builds.peter2003-05-241-1/+1
| | | | Approved by: re (safe amd64 support commits)
* Initial pass at supporting shared libraries on amd64. There are stillpeter2003-05-242-73/+101
| | | | | | | a few missing relocation types in amd64/reloc.c, but I have not found any of them in use yet. :-) Approved by: re (amd64/* blanket)
* Retire the useless NOSECURE knob.des2003-05-191-2/+1
| | | | Approved by: re (scottl)
* - Use xmalloc() and xstrdup() instead of malloc() and strdup().mdodd2003-05-191-5/+14
| | | | | | - Add a global mapping if we have a successful constrained match. Approved by: re
* Since libmap.conf is referenced in rtld.1, include it in the referencesrwatson2003-05-171-0/+1
| | | | | | section. Approved by: re (scottl)
* mdoc(7) police: Properly markup the previous revision.ru2003-05-161-2/+6
| | | | Approved by: re (blanket)
* mdoc(7) police: Normalize the FILES section.ru2003-05-161-2/+3
| | | | Approved by: re (blanket)
* Allow a NOPIC "make world" to complete.markm2003-05-111-1/+1
| | | | OK'ed by: re(scottl)
* Mrege from crypto telnet with "make unifdef". This gets a bunch ofmarkm2003-05-117-29/+29
| | | | $FreeBSD$ tags and some debug variable safety belts.
* Exclude rtld-elf for amd64. More porting is still needed.peter2003-05-081-1/+4
| | | | Approved by: re (scottl)
* Rethink the way we count module references. Simply followingkan2003-05-081-18/+30
| | | | | | | | | DT_NEEDED links is not flexible enough for cases where dynamically loaded modules form a dependency cycle. This should fix an infinite recursion problem encountered by Yahoo. Approved by: re (jhb)
* Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extramarkm2003-05-051-1/+1
| | | | | cleanups were necessary in release/Makefile, and the tinderbox code was syntax checked, not run checked.
* Use __FBSDID vs. rcsid[].obrien2003-05-045-20/+10
|
* Fix signed/unsigned comparison warnings.obrien2003-05-043-8/+9
|
* Fix a sign/unsigned comparison.obrien2003-05-041-5/+5
|
* Build non-crypto telnet(1) and telnetd(8) if NO_OPENSSL is defined.ru2003-05-011-1/+1
| | | | Submitted by: Marius Strobl <marius@alchemy.franken.de>
* Remove 80386 bandaids from code repocopied from i386. rtld_start.S stillpeter2003-04-301-78/+4
| | | | todo.
* Remove redundant strlen checks, do not check the samekan2003-04-301-23/+24
| | | | symbol twice.
* Don't clobber Kerberos5 telnet(1) and telnetd(8) with non-crypto versions.ru2003-04-301-3/+3
|
* Add back # accidentally deleted in 1.54imp2003-04-271-1/+1
|
* This is no longer needed after tw is gone.imp2003-04-2710-1381/+1
| | | | Approved by: re@ (scottl)
* properly refuse a connection in the -c case if the client ip's subdirectorybillf2003-04-191-5/+6
| | | | | | | | does not exist. PR: bin/38303 Submitted by: Woei-Luen, Shyu <m8535@cn.ee.ccu.edu.tw> the committed patch differs from the submitted one, any inaccuracies are mine.
* Code cleanups and sanity checking for config file parser.mdodd2003-04-101-19/+52
|
* Dynamic object dependency mapping: libmap.mdodd2003-04-075-5/+238
| | | | | | | This is an optional feature, disabled by default. This will be useful to people testing the various POSIX threading libraries under -CURRENT but can easily serve other needs.
* MFp4 @27667: WARNS=5 cleanup on i386.jmallett2003-04-035-15/+17
| | | | | | | | | | | | | | | | | | | Remove the unused FILE\ *tf from print_mesg args, and the bogus passing in of an uninitialised FILE* for it. Call a timeval 'now' instead of 'clock' due to shadowing. Remove a nested localtime declaration. Make the delete invite argument match the ID type, u_int32_t. Use const for pointers to const items. Cast to long where printing as such. Include netinet/in.h for htonl/htons. Reviewed by: imp
* Mark bits that do not require an object directory as such.ru2003-04-011-0/+1
|
* Update the description of the -u option to mention that IP_PORTRANGE_HIGHsilby2003-03-251-6/+9
| | | | | | and _DEFAULT are the same for 5.x. Committed under threat of action from: The mdoc police
* Clean up some warnings that don't result in a change in the object file:dwmalone2003-03-201-17/+20
| | | | | | | Constness, missing prototypes, non-ansi prototypes, missing initialisers, unnecessary declarations, shadowing. Reviewed by: md5
* Fix for ia64/48024 - ensure function pointer equality across elfarun2003-03-191-52/+77
| | | | | | | | | | | | objects. Programs such as sshd depend on two pointers to the same function being equal in a given process. However, the current ia64 implementation ensures that they're equal when both the pointers are instantiated in the same ELF object. The attached patch ensures that they're equal irrespective of where they're instantiated. Reviewed by marcel@ (mentor) and kan@
* Run a revision of the devstat interface:phk2003-03-151-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel: Change statistics to use the *uptime() timescale (ie: relative to boottime) rather than the UTC aligned timescale. This makes the device statistics code oblivious to clock steps. Change timestamps to bintime format, they are cheaper. Remove the "busy_count", and replace it with two counter fields: "start_count" and "end_count", which are updated in the down and up paths respectively. This removes the locking constraint on devstat. Add a timestamp argument to devstat_start_transaction(), this will normally be a timestamp set by the *_bio() function in bp->bio_t0. Use this field to calculate duration of I/O operations. Add two timestamp arguments to devstat_end_transaction(), one is the current time, a NULL pointer means "take timestamp yourself", the other is the timestamp of when this transaction started (see above). Change calculation of busy_time to operate on "the salami principle": Only when we are idle, which we can determine by the start+end counts being identical, do we update the "busy_from" field in the down path. In the up path we accumulate the timeslice in busy_time and update busy_from. Change the byte_* and num_* fields into two arrays: bytes[] and operations[]. Userland: Change the misleading "busy_time" name to be called "snap_time" and make the time long double since that is what most users need anyway, fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same timescale as the kernel fields. Change devstat_compute_etime() to operate on struct bintime. Remove the version 2 legacy interface: the change to bintime makes compatibility far too expensive. Fix a bug in systat's "vm" page where boot relative busy times would be bogus. Bump __FreeBSD_version to 500107 Review & Collaboration by: ken
* Update to current devstat API.phk2003-03-151-6/+6
|
* Free obj->priv field in obj_free functions. This field is NULLkan2003-03-141-0/+1
| | | | | on all architectures except ia64, which uses it to keep function description table.
* No need to zero fill memory, mmapped anonymously. Kernel willkan2003-03-146-15/+1
| | | | | | return pre-zeroed pages itself. Noticed by: jake
* mdoc(7) police: Scheduled sweep.ru2003-02-241-1/+1
|
* mdoc(7) police: expand contraction.ru2003-02-231-1/+1
|
* Do not remove object from the lists at the unref_dag() stage.kan2003-02-171-8/+26
| | | | | | | Introduce a new unlink_object() function and call it in unload_object() instead. Removing the object in unref_dag() is too early, rtld calls _fini() function after that and shared objects might fail resolve their own symbols.
* Add #include <sys/resource.h>phk2003-02-161-0/+1
|
* Remove <sys/dkstat.h> #includephk2003-02-161-1/+0
|
* Advertize rtld(1) as ld.so(1) in manual pages worldphantom2003-02-132-1/+3
|
* Fix a typo in rtld_dirname.kan2003-02-131-1/+1
|
* Implement dlinfo() function.kan2003-02-132-32/+262
| | | | | | | | | | Introdice RTLD_SELF special handle and properly process it within dlsym() and dlinfo() functions. The intention is to improve our compatibility with Solaris and to make a Java port easier. Partially submitted by: phantom
* Add missing include files I forgot about in previous commit.kan2003-02-131-0/+2
|
* Remove /usr/lib/elf from a default search path.kan2003-02-133-19/+17
| | | | | | Move xprintf to malloc.c, it is only used there. Make static. Submitted by: phantom
* Kill unnecessary vertical whitespace.yar2003-02-111-1/+0
|
OpenPOWER on IntegriCloud