aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
...
* - Use xmalloc() and xstrdup() instead of malloc() and strdup().Matthew N. Dodd2003-05-191-5/+14
| | | | | | | | | - Add a global mapping if we have a successful constrained match. Approved by: re Notes: svn path=/head/; revision=115150
* Since libmap.conf is referenced in rtld.1, include it in the referencesRobert Watson2003-05-171-0/+1
| | | | | | | | | section. Approved by: re (scottl) Notes: svn path=/head/; revision=115107
* mdoc(7) police: Properly markup the previous revision.Ruslan Ermilov2003-05-161-2/+6
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115087
* mdoc(7) police: Normalize the FILES section.Ruslan Ermilov2003-05-161-2/+3
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115086
* Allow a NOPIC "make world" to complete.Mark Murray2003-05-111-1/+1
| | | | | | | OK'ed by: re(scottl) Notes: svn path=/head/; revision=114913
* Mrege from crypto telnet with "make unifdef". This gets a bunch ofMark Murray2003-05-117-29/+29
| | | | | | | $FreeBSD$ tags and some debug variable safety belts. Notes: svn path=/head/; revision=114912
* Exclude rtld-elf for amd64. More porting is still needed.Peter Wemm2003-05-081-1/+4
| | | | | | | Approved by: re (scottl) Notes: svn path=/head/; revision=114833
* Rethink the way we count module references. Simply followingAlexander Kabaev2003-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) Notes: svn path=/head/; revision=114826
* Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extraMark Murray2003-05-051-1/+1
| | | | | | | | cleanups were necessary in release/Makefile, and the tinderbox code was syntax checked, not run checked. Notes: svn path=/head/; revision=114709
* Use __FBSDID vs. rcsid[].David E. O'Brien2003-05-045-20/+10
| | | | Notes: svn path=/head/; revision=114626
* Fix signed/unsigned comparison warnings.David E. O'Brien2003-05-043-8/+9
| | | | Notes: svn path=/head/; revision=114625
* Fix a sign/unsigned comparison.David E. O'Brien2003-05-041-5/+5
| | | | Notes: svn path=/head/; revision=114624
* Build non-crypto telnet(1) and telnetd(8) if NO_OPENSSL is defined.Ruslan Ermilov2003-05-011-1/+1
| | | | | | | Submitted by: Marius Strobl <marius@alchemy.franken.de> Notes: svn path=/head/; revision=114448
* Remove 80386 bandaids from code repocopied from i386. rtld_start.S stillPeter Wemm2003-04-301-78/+4
| | | | | | | todo. Notes: svn path=/head/; revision=114332
* Remove redundant strlen checks, do not check the sameAlexander Kabaev2003-04-301-23/+24
| | | | | | | symbol twice. Notes: svn path=/head/; revision=114316
* Don't clobber Kerberos5 telnet(1) and telnetd(8) with non-crypto versions.Ruslan Ermilov2003-04-301-3/+3
| | | | Notes: svn path=/head/; revision=114280
* Add back # accidentally deleted in 1.54Warner Losh2003-04-271-1/+1
| | | | Notes: svn path=/head/; revision=114117
* This is no longer needed after tw is gone.Warner Losh2003-04-2710-1381/+1
| | | | | | | Approved by: re@ (scottl) Notes: svn path=/head/; revision=114113
* properly refuse a connection in the -c case if the client ip's subdirectoryBill Fumerola2003-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. Notes: svn path=/head/; revision=113714
* Code cleanups and sanity checking for config file parser.Matthew N. Dodd2003-04-101-19/+52
| | | | Notes: svn path=/head/; revision=113312
* Dynamic object dependency mapping: libmap.Matthew N. Dodd2003-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. Notes: svn path=/head/; revision=113229
* MFp4 @27667: WARNS=5 cleanup on i386.Juli Mallett2003-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 Notes: svn path=/head/; revision=112998
* Mark bits that do not require an object directory as such.Ruslan Ermilov2003-04-011-0/+1
| | | | Notes: svn path=/head/; revision=112940
* Update the description of the -u option to mention that IP_PORTRANGE_HIGHMike Silbersack2003-03-251-6/+9
| | | | | | | | | and _DEFAULT are the same for 5.x. Committed under threat of action from: The mdoc police Notes: svn path=/head/; revision=112644
* Clean up some warnings that don't result in a change in the object file:David Malone2003-03-201-17/+20
| | | | | | | | | | Constness, missing prototypes, non-ansi prototypes, missing initialisers, unnecessary declarations, shadowing. Reviewed by: md5 Notes: svn path=/head/; revision=112452
* Fix for ia64/48024 - ensure function pointer equality across elfArun Sharma2003-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@ Notes: svn path=/head/; revision=112419
* Run a revision of the devstat interface:Poul-Henning Kamp2003-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 Notes: svn path=/head/; revision=112288
* Update to current devstat API.Poul-Henning Kamp2003-03-151-6/+6
| | | | Notes: svn path=/head/; revision=112283
* Free obj->priv field in obj_free functions. This field is NULLAlexander Kabaev2003-03-141-0/+1
| | | | | | | | on all architectures except ia64, which uses it to keep function description table. Notes: svn path=/head/; revision=112244
* No need to zero fill memory, mmapped anonymously. Kernel willAlexander Kabaev2003-03-146-15/+1
| | | | | | | | | return pre-zeroed pages itself. Noticed by: jake Notes: svn path=/head/; revision=112242
* mdoc(7) police: Scheduled sweep.Ruslan Ermilov2003-02-241-1/+1
| | | | Notes: svn path=/head/; revision=111447
* mdoc(7) police: expand contraction.Ruslan Ermilov2003-02-231-1/+1
| | | | Notes: svn path=/head/; revision=111283
* Do not remove object from the lists at the unref_dag() stage.Alexander Kabaev2003-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. Notes: svn path=/head/; revision=111054
* Add #include <sys/resource.h>Poul-Henning Kamp2003-02-161-0/+1
| | | | Notes: svn path=/head/; revision=111005
* Remove <sys/dkstat.h> #includePoul-Henning Kamp2003-02-161-1/+0
| | | | Notes: svn path=/head/; revision=111001
* Advertize rtld(1) as ld.so(1) in manual pages worldAlexey Zelkin2003-02-132-1/+3
| | | | Notes: svn path=/head/; revision=110836
* Fix a typo in rtld_dirname.Alexander Kabaev2003-02-131-1/+1
| | | | Notes: svn path=/head/; revision=110834
* Implement dlinfo() function.Alexander Kabaev2003-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 Notes: svn path=/head/; revision=110804
* Add missing include files I forgot about in previous commit.Alexander Kabaev2003-02-131-0/+2
| | | | Notes: svn path=/head/; revision=110803
* Remove /usr/lib/elf from a default search path.Alexander Kabaev2003-02-133-19/+17
| | | | | | | | | Move xprintf to malloc.c, it is only used there. Make static. Submitted by: phantom Notes: svn path=/head/; revision=110801
* Kill unnecessary vertical whitespace.Yaroslav Tykhiy2003-02-111-1/+0
| | | | Notes: svn path=/head/; revision=110707
* Use LOG_AUTHPRIV to hide the username attempted during an invalid loginYaroslav Tykhiy2003-02-111-1/+5
| | | | | | | | | | from everyone but sysadmins. PR: bin/29487 MFC after: 3 days Notes: svn path=/head/; revision=110691
* When unloading dependencies make sure they are removed from all theAlexander Kabaev2003-02-101-9/+10
| | | | | | | | | | | | | | | associated lists: remove RTLD_GLOBAL objects from global objects list; remove the parent object from dldags list of its children. Previosly we were doing that only to the top-level object OF the DAG being unloaded and all its dependencies were ignored, leading to mysterious crashes later. Submitted by: peter (partially) Notes: svn path=/head/; revision=110659
* Add FBSDID. udp/bootps -> bootps/udp. Use err(3).Philippe Charnier2003-02-054-46/+41
| | | | Notes: svn path=/head/; revision=110395
* Allow "~/" in pathnames to work for a chrooted user.Yaroslav Tykhiy2003-02-051-2/+4
| | | | Notes: svn path=/head/; revision=110378
* Let tilde expansion be done even if a file/directory doesn't exist yet.Yaroslav Tykhiy2003-02-041-35/+98
| | | | | | | | | | | | | | | This makes such natural commands as "MKD ~user/newdir" or "STOR ~/newfile" do what they are supposed to instead of failing miserably with the "File not found" error. This involves a bit of code reorganization. Namely, the code doing glob(3) expansion has been separated to a function; a new function has been introduced to do tilde expansion; the latter function is invoked on a pathname before the former one. Thus behaviour mimicing that of the Bourne shell has been achieved. Notes: svn path=/head/; revision=110340
* RFC 959 doesn't list reply code 550 as a valid responce to STOR/STOU,Yaroslav Tykhiy2003-02-041-1/+1
| | | | | | | | so return reply code 553 to indicate a error from open(2) for consistency, as long as the code is used in the rest of the STOR/STOU handler. Notes: svn path=/head/; revision=110307
* Add OPIE and PAM libs to the mix.David E. O'Brien2003-02-021-0/+4
| | | | Notes: svn path=/head/; revision=110247
* OPIE and PAM bits to agument LukeMftpd.David E. O'Brien2003-02-021-0/+153
| | | | | | | Submitted by: mikeh (reworked by me) Notes: svn path=/head/; revision=110246
* Let real users access special files through FTPYaroslav Tykhiy2003-01-311-3/+13
| | | | | | | | | | | | | if allowed by their filesystem permissions. This doesn't break anything since using sendfile(2) is triggered later by a separate S_ISREG conditional. PR: bin/20824 MFC after: 1 week Notes: svn path=/head/; revision=110144