aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Style: move .PATH to where it belongs.Ruslan Ermilov2005-10-141-2/+2
| | | | Notes: svn path=/head/; revision=151326
* Clean out the leftovers from the i386_set_gsbase() TLS conversion.Peter Wemm2005-06-291-17/+1
| | | | | | | | | | | Like on libthr, there is an i386_set_gsbase() stub implementation here to avoid libc.so.5 issues. This should likely be a weak symbol and I expect this will be fixed soon. Approved by: re Notes: svn path=/head/; revision=147673
* Removed trailing whitespace.Ruslan Ermilov2005-06-141-2/+2
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147365
* Bump document date on behalf of a recent change.Ruslan Ermilov2005-06-141-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147364
* Remove rexecd(8), a server that implements a particularly insecureJacques Vidrine2005-06-104-509/+0
| | | | | | | | | | method of executing commands remotely. There are no rexec clients in the FreeBSD tree, and the client function rexec(3) is present only in libcompat. It has been documented as "obsolete" since 4.3BSD, and its use has been discouraged in the man page for over 10 years. Notes: svn path=/head/; revision=147270
* Remove kludges intended to support src trees with partial obj trees.Dag-Erling Smørgrav2005-06-103-16/+4
| | | | | | | Discussed with: ru Notes: svn path=/head/; revision=147225
* MFNetBSD: src/libexec/ld.elf_so/arch/sparc64/mdreloc.c 1.26 (partial)Marius Strobl2005-06-041-1/+1
| | | | | | | | | | Fix an obvious bug in the 64-bit PLT fixup: the SLLX was by 12 bits, when it should be 32. MFC after: 1 month Notes: svn path=/head/; revision=146968
* Fix the load64 and store64 macros, created to handle 8-byte unalignedMarcel Moolenaar2005-06-021-6/+6
| | | | | | | | | | | | | loads and stores (resp.) The ldq_u and stq_u instruction mask off the lower 3 bits of the final address before loading from or storing to the address, so as to avoid unaligned loads and stores. They do not themselves allow loads from or stores to unaligned addresses. Replace the macro definitions by a packed struct dereference. Submitted by: Richard Henderson (rth at twiddle dot net) Notes: svn path=/head/; revision=146886
* o Missed colon in getopt(3) argument makes tftpd(8) crash. Fix that.Maxim Konovalov2005-05-311-1/+1
| | | | | | | | | PR: misc/81732 Submitted by: Denis Grudkin MFC after: 2 weeks Notes: svn path=/head/; revision=146827
* Fixup of last commit: Use the name X instead of XFree86 for the server binary,Eivind Eklund2005-05-271-1/+1
| | | | | | | | | thus being compatible with both XFree86 and X.org. Noticed by: danfe Notes: svn path=/head/; revision=146672
* Make the example for using xterm as a login manager to match the X of theEivind Eklund2005-05-271-1/+1
| | | | | | | noughties, not eighties. Notes: svn path=/head/; revision=146666
* Align the stack to a 16 byte boundary before calling _rtld so that we canDoug Rabson2005-05-191-3/+6
| | | | | | | | | safely initialise shared libraries that use SSE in their init sections. MFC After: 1 week Notes: svn path=/head/; revision=146370
* Switch to WARNS=2 instead of tinkering directly with CFLAGS (level 2 wasGiorgos Keramidas2005-05-181-1/+1
| | | | | | | | | picked because higher warn levels are broken for ftp-proxy at the moment). Approved by: mlaier Notes: svn path=/head/; revision=146341
* Enable lukemftpd for 6.0-RELEASE.David E. O'Brien2005-05-161-5/+1
| | | | Notes: svn path=/head/; revision=146286
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesHajimu UMEMOTO2005-05-132-9/+3
| | | | | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now. Notes: svn path=/head/; revision=146187
* Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).Juli Mallett2005-05-111-1/+1
| | | | Notes: svn path=/head/; revision=146075
* Spell SHUT_RDWR as SHUT_RDWR not 1+1 as the how argument to shutdown(2).Juli Mallett2005-05-111-2/+2
| | | | Notes: svn path=/head/; revision=146074
* Prevent usage of nested externs.Xin LI2005-05-061-1/+2
| | | | Notes: svn path=/head/; revision=145967
* Fix compilation problem.David Xu2005-04-271-1/+1
| | | | Notes: svn path=/head/; revision=145593
* Stop calling _amd64_set_gsbase() for COMPAT_32BIT. The amd64 kernelPeter Wemm2005-04-261-9/+2
| | | | | | | implements i386_set_gsbase(), so there is no need for the variation. Notes: svn path=/head/; revision=145568
* s/int/size_t/ as appropriate.David Schultz2005-04-171-4/+4
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=145177
* Attempt to use i386_set_gsbase(), and gracefully fall back to LDT methodsPeter Wemm2005-04-141-13/+16
| | | | | | | if the direct access methods are not implemented. Notes: svn path=/head/; revision=145038
* The script mistakenly ignores the entropy_save_sz variable fromDoug Barton2005-04-111-2/+2
| | | | | | | | | | | | | | | | | | rc.conf[.local]. Fix this, and leave the default as 2048. Update the copyright year to include the present. Update the assignment of the copyright to be me personally, instead of "The FreeBSD Project" which is not a legal entity, and therefore not a proper assignee. My intention remains the same however, that this code continue to be BSD licensed, and freely available to anyone that wants it under those terms. PR: conf/75722 Submitted by: Nicolas Rachinsky <list@rachinsky.de> Notes: svn path=/head/; revision=144889
* Revert parts of previous commits and use a temporary variable to avoidDag-Erling Smørgrav2005-04-081-37/+8
| | | | | | | an invalid type pun. Notes: svn path=/head/; revision=144795
* No need to provide atomic_cmpset_32() anymore.Olivier Houchard2005-04-071-12/+0
| | | | Notes: svn path=/head/; revision=144764
* An array was mistaken for a pointer in the previous commit.Jacques Vidrine2005-04-071-3/+4
| | | | | | | | Noticed by: tinderbox, stefanf Pointy hat to: nectar Notes: svn path=/head/; revision=144754
* Include gettytab.h before extern.h so that the declarations of structStefan Farfeleder2005-04-064-5/+3
| | | | | | | gettyflags, gettynums and gettystrs are available. Notes: svn path=/head/; revision=144716
* Correct type mismatch introduced in last commit.Jacques Vidrine2005-04-051-1/+1
| | | | | | | Noticed by: Steve Kargl <sgk@troutmask.apl.washington.edu> Notes: svn path=/head/; revision=144680
* DES pointed out that the PAM layer may change the target user nameJacques Vidrine2005-04-051-15/+32
| | | | | | | | | during authentication. Thus we need to call getpwnam *after* the user has been authenticated. Colin mentioned that we should also move the check for root in that case. Notes: svn path=/head/; revision=144668
* When allocating TLS and DTV, make sure that any unused slots in the DTVDoug Rabson2005-03-301-8/+4
| | | | | | | | | | | are initialised to zero. When freeing TLS, don't attempt to free DTV slots which were not used. Pointed out by: Joerg Sonnenberger X-MFC-After: After the branch, probably Notes: svn path=/head/; revision=144326
* When PAM support was added to rexecd in revision 1.29 (just prior toJacques Vidrine2005-03-271-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | 5.0-RELEASE), a visually elusive bug was introduced. A comparison operator was changed to assignment. As a result, rexecd behaved always as if the `-i' option had been specified. It would allow root logins. This commit corrects the situation in the obvious way. A separate bug was introduced at the same time. The PAM library functions are called between the invocation of getpwnam(3) and the use of the returned static object. Since many PAM library functions result in additional getpwnam(3) calls, the contents of the returned static object could be changed from under rexecd. With this commit, getpwnam_r(3) is used instead. Other PAM-using applications should be reviewed for similar errors in getpw* usage. Security: rexecd's documented default policy of disallowing root logins was not enforced. Reviewed by: cperciva Notes: svn path=/head/; revision=144180
* If "dangerous" environment variables (LD_PRELOAD, LD_LIBMAP,Colin Percival2005-03-241-1/+24
| | | | | | | | | | | | | | | | LD_LIBMAP_DISABLE, LD_LIBRARY_PATH) are used, then make sure the libraries being loaded aren't on a noexec-mounted filesystem. This is a compromise position: I'm assuming that nobody will be silly enough to set the noexec mount flag on part of the default library path, in order to avoid adding extra overhead into the common case (where those environment variables aren't used). Discussed with: csjp, secteam MFC after: 1 week Notes: svn path=/head/; revision=144062
* Use sysconf(_SC_ARG_MAX) instead of NCARGS.David Schultz2005-03-212-4/+14
| | | | Notes: svn path=/head/; revision=143907
* Add locking code for tls routines.David Xu2005-03-201-4/+21
| | | | Notes: svn path=/head/; revision=143893
* Install rlogind(8). Pointy hat is available on request.Ruslan Ermilov2005-03-031-1/+1
| | | | Notes: svn path=/head/; revision=143107
* Wrap BSD r* commands in NO_RCMDS.Tom Rhodes2005-03-021-3/+9
| | | | | | | | | Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk. Discussed with: ru, nectar Notes: svn path=/head/; revision=143026
* correct WARNS=6 fix to use cast to (void *).Hajimu UMEMOTO2005-03-011-10/+10
| | | | | | | use of struct sockaddr_strage * is thought as not good manner. :) Notes: svn path=/head/; revision=142900
* Attempt to free any static TLS space used by a shared library when itDoug Rabson2005-02-273-0/+24
| | | | | | | | | | is unloaded. This allows applications which load and unload libraries like libGL.so.1 several times to work properly. MFC after: 2 days Notes: svn path=/head/; revision=142645
* Only provide the dummy, non-atomic atomic_cmpset_32() ifOlivier Houchard2005-02-261-0/+2
| | | | | | | ARM_HAS_ATOMIC_CMPSET_32 isn't defined. Notes: svn path=/head/; revision=142593
* If what we have is a struct sockaddr_storage * and what we want is aDag-Erling Smørgrav2005-02-231-8/+8
| | | | | | | | struct sockaddr_storage *, there's no point in casting it prematurely to a struct sockaddr *. This unbreaks WARNS=6 on sparc64. Notes: svn path=/head/; revision=142329
* Make WARNS=6-clean.Dag-Erling Smørgrav2005-02-232-12/+13
| | | | Notes: svn path=/head/; revision=142317
* Add some consistency checks to the signal-related code.Yaroslav Tykhiy2005-02-161-0/+6
| | | | | | | MFC: along with rev. 1.202 Notes: svn path=/head/; revision=141967
* A call to maskurg() makes sense only when a transfer is under way,Yaroslav Tykhiy2005-02-161-3/+5
| | | | | | | | | | the function will emit an annoying log message otherwise. Reported by: kris MFC: along with rev. 1.202 Notes: svn path=/head/; revision=141966
* - Use socklen_t.Stefan Farfeleder2005-02-141-8/+5
| | | | | | | | - No need for 'fromlen' to have file scope. - Remove an unused variable. Notes: svn path=/head/; revision=141922
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-1412-18/+27
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* Expand contractions.Ruslan Ermilov2005-02-132-2/+2
| | | | Notes: svn path=/head/; revision=141851
* Expand *n't contractions.Ruslan Ermilov2005-02-134-4/+4
| | | | Notes: svn path=/head/; revision=141846
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-095-12/+7
| | | | Notes: svn path=/head/; revision=141589
* Removed Kerberos remnants.Ruslan Ermilov2005-02-092-58/+6
| | | | Notes: svn path=/head/; revision=141588
* The only user of this utility (share/man/man0) was removed 2+ years ago.Ruslan Ermilov2005-02-094-410/+0
| | | | Notes: svn path=/head/; revision=141585