aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Description from Dan:Matthew N. Dodd2005-02-044-13/+93
| | | | | | | | | | | | | | | | | | Another handy libmap patch. Lets you do stuff like this: LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp If you already have a program-specific override in libmap.conf, note that you must use a program-specific override in LD_LIBMAP: LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp PR: bin/74471 Submitted by: Dan Nelson <dnelson AT allantgroup.com> MFC after: 2 weeks Notes: svn path=/head/; revision=141232
* style(9)Matthew N. Dodd2005-02-041-4/+3
| | | | Notes: svn path=/head/; revision=141230
* Let bsd.prog.mk set SRCS and MAN to their default values.Ruslan Ermilov2005-01-284-4/+0
| | | | Notes: svn path=/head/; revision=140941
* Respect the `logging' flag.Yaroslav Tykhiy2005-01-191-1/+1
| | | | | | | | Pointed out by: Nick Leuta MFC after: 3 days Notes: svn path=/head/; revision=140473
* Improve handling SIGURG and OOB commands on the control channel.Yaroslav Tykhiy2005-01-191-134/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | The major change is to process STAT sent as an OOB command w/o breaking the current data transfer. As a side effect, this gives better error checking in the code performing data transfers. A lesser, but in no way cosmetic, change is using the flag `recvurg' in the only signal-safe way that has been blessed by SUSv3. The other flag, `transflag,' becomes private to the SIGURG machinery, serves debugging purposes only, and may be dropped in the future. The `byte_count' global variable is now accounting bytes actually transferred over the network. This can give status messages looking strange, like "X of Y bytes transferred," where X > Y, but that has more sense than trying to compensate for combinations of data formats on the server and client when transferring ASCII type data. BTW, getting the size of a file in advance is unreliable for a number of reasons in the first place. See question 18.8 of the Infrequently Asked Questions in comp.lang.c for details. PR: bin/52072 Tested by: Nick Leuta (earlier versions), a stress-testing tool (final) MFC after: 1 month Notes: svn path=/head/; revision=140472
* Sort sections.Ruslan Ermilov2005-01-1814-94/+94
| | | | Notes: svn path=/head/; revision=140414
* 64-bit clean + WARNS=6:Xin LI2005-01-142-5/+4
| | | | | | | | | | | | | | | | | | | | - Convert the (char *) cast+cast backs magic to memcpy(3). Without this, the resulting code is potentially risky with higher optimization levels. - Avoid same name when calling local variables, as well as global symbols. This reduces confusion for both human and compiler. - Add necessary casts, consts - Use new style function defination. - Minor style.Makefile(5) tweak - Bump WARNS?= from 0 to 6 ** for the aout code: changes are intentionally limited to ease maintaince. Notes: svn path=/head/; revision=140241
* Restore these files to make ldconfig(8) happy.Tom Rhodes2005-01-114-0/+504
| | | | Notes: svn path=/head/; revision=140072
* Remove a.out runtime linker. It doesn't build and was removed from theTom Rhodes2005-01-1113-4456/+0
| | | | | | | | | | | | | build over two years ago by peter. The binary a.out version of ld.so can be obtained from misc/compat22 or src/lib/compat/compat22. Discussed on: -arch Voted yes: jhb, ru, linimon, delphij Notes: svn path=/head/; revision=140038
* Replace err(3) calls when in daemon mode by syslog(3), too.Yaroslav Tykhiy2005-01-101-4/+8
| | | | | | | | | | A daemon has no stderr to send its complains to. Pointed out by: Nick Leuta MFC after: 1 week Notes: svn path=/head/; revision=139981
* NOPAM -> NO_PAMRuslan Ermilov2004-12-212-2/+2
| | | | Notes: svn path=/head/; revision=139126
* NOINET6 -> NO_INET6Ruslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139115
* NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139113
* NODOCCOMPRESS -> NO_DOCCOMPRESSRuslan Ermilov2004-12-211-1/+1
| | | | | | | | | | | NOINFO -> NO_INFO NOINFOCOMPRESS -> NO_INFOCOMPRESS NOLINT -> NO_LINT NOPIC -> NO_PIC NOPROFILE -> NO_PROFILE Notes: svn path=/head/; revision=139106
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-213-3/+3
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* Do a small style(9) fix before I'm hacking the code itself.Yaroslav Tykhiy2004-12-161-1/+0
| | | | Notes: svn path=/head/; revision=138911
* free(3) is void already.Yaroslav Tykhiy2004-12-161-1/+1
| | | | Notes: svn path=/head/; revision=138910
* Never emit a message to stderr: use syslog instead.Yaroslav Tykhiy2004-12-121-9/+15
| | | | | | | | | | | | | When in inetd mode, this prevents bogus messages from appearing on the control channel. When running as a daemon, we shouldn't write to the terminal we used to have at all. PR: bin/74823 MFC after: 1 week Notes: svn path=/head/; revision=138747
* Implement a dummy atomic_cmpset_32(). It should be safe to use it in rtld asOlivier Houchard2004-11-231-0/+11
| | | | | | | the signals are masked anyway. Notes: svn path=/head/; revision=138023
* When looking for a virtual host to handle the connection,Yaroslav Tykhiy2004-11-221-2/+3
| | | | | | | | | stop the search on the first match for efficiency. Submitted by: Nick Leuta Notes: svn path=/head/; revision=137987
* Calling pam_chauthtok() isn't really needed sinceYaroslav Tykhiy2004-11-221-7/+3
| | | | | | | | | an FTP user has no chance to change password anyway. Submitted by: Nick Leuta Notes: svn path=/head/; revision=137986
* Don't log the chroot dir on every command since it's constant for a session.Yaroslav Tykhiy2004-11-221-9/+8
| | | | | | | | | | Log it once at the beginning of the session instead. OTOH, log wd each time for the sake of better auditing and consistent log format. Proposed by: Nick Leuta <skynick -at- mail.sc.ru> Notes: svn path=/head/; revision=137985
* Always log remote IP.Yaroslav Tykhiy2004-11-221-13/+9
| | | | | | | PR: bin/59773 Notes: svn path=/head/; revision=137984
* Treat host name buffers consistently.Yaroslav Tykhiy2004-11-221-12/+23
| | | | Notes: svn path=/head/; revision=137983
* Make chrootdir global and use it in log messagesYaroslav Tykhiy2004-11-181-9/+4
| | | | | | | | | regarding restricted users. MFC after: 2 weeks Notes: svn path=/head/; revision=137862
* Nitpicking on style(9) and whitespace.Yaroslav Tykhiy2004-11-181-13/+13
| | | | | | | Tested with: md5(1) Notes: svn path=/head/; revision=137861
* Use __FBSDID.Yaroslav Tykhiy2004-11-184-8/+12
| | | | Notes: svn path=/head/; revision=137859
* Don't say, "file: permission denied," if the operationYaroslav Tykhiy2004-11-181-1/+1
| | | | | | | is disabled entirely. Notes: svn path=/head/; revision=137853
* Use uniform punctuation, capitalization, and language styleYaroslav Tykhiy2004-11-182-45/+44
| | | | | | | | in server messages wherever this doesn't contradict to a particular message format. Notes: svn path=/head/; revision=137852
* Apply __printflike() to the appendf() prototype so the compilerYaroslav Tykhiy2004-11-181-1/+1
| | | | | | | can detect format errors. Notes: svn path=/head/; revision=137851
* Fix perror_reply() vs. reply() usage.Yaroslav Tykhiy2004-11-182-3/+3
| | | | Notes: svn path=/head/; revision=137850
* '\n' needs not to appear in reply() strings.Yaroslav Tykhiy2004-11-181-3/+3
| | | | Notes: svn path=/head/; revision=137849
* Log pathname arguments to ftp commands as the user specified them;Yaroslav Tykhiy2004-11-181-33/+55
| | | | | | | | | | | | | | add the working directory pathname to the log message if any of such arguments isn't absolute. This has advantage over the old way of logging that an admin can see what users are actually trying to do, and where. The old code was also not too robust when it came to a chrooted session and an absolute pathname. Pointed out by: Nick Leuta MFC after: 2 weeks Notes: svn path=/head/; revision=137848
* Use S_ISDIR() macro instead of a hand-rolled test.Yaroslav Tykhiy2004-11-181-1/+1
| | | | Notes: svn path=/head/; revision=137847