summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/popen.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatiblemikeh2001-07-291-1/+1
| | | | | | | | | | with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc' patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to maintain backwards compatibility. Reviewed by: sheldonh, assar Obtained from: NetBSD/OpenBSD
* Teach ftpd about the new GLOB_MAXPATH flag.jlemon2001-03-191-0/+2
|
* remove redundant optreset declarationimp2000-09-041-1/+0
|
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-271-0/+1
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyonepeter1999-08-261-9/+1
| | | | | really dislikes this, we could add a switch to disable it at runtime and check in popen.c.
* Back out "always UTC" fix since some people want visually identical 'ls'ache1998-05-181-4/+10
| | | | | | | | output for local users. FTP protocol RFC also says that 'ls' output is not machine-readable. "always UTC" still possible with TZ= in ftpd environment by price of having UTC in log files too. Fix INTERNAL_LS to sense new /etc/localtime after chroot
* Return back vfork and use execve with TZ="" environment in vfork caseache1998-05-151-5/+7
|
* Use fork instead of vfork since setenv clobber parent environmentache1998-05-151-4/+2
| | | | Fork already used for INTERNAL_LS in anycase
* Move TZ="" assignment just before exec to not touch other time stuffache1998-05-151-1/+3
|
* Fixed a bug where if MAXUSRARGS amount of args were passed in, the argv[]dg1998-04-271-2/+4
| | | | | array would end up without the NULL pointer termination, causing the glob code to glob whatever garbage happend to follow on the stack.
* PR: 5812danny1998-02-251-1/+5
| | | | | | Pointed-in-the-right-driection-by: Mike Smith and Steve Price Close syslogging before calling ls_main()
* Cosmetics in man page. Exit(-1) -> exit(1).charnier1997-11-211-4/+4
|
* Adds optional "internal ls" support for ftpd, by collectingdavidn1997-04-261-2/+19
| | | | | | | | | | | modules from src/bin/ls, and handling exec(_PATH_LS,..) as a special case, very useful in an environment where many users are given chroot access. "~/etc/{s}pwd.db" files are still needed if uid/gid->user/group translation is desired. To enable this it must be compiled with the make variable FTP_INTERNAL_LS defined, either in /etc/make.conf or the environment.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Truncate argument list to avoid buffer overflows.pst1996-11-201-5/+9
| | | | Cannidate for: 2.1 and 2.2
* add forgotten $Id$wosch1996-09-221-0/+2
|
* Fix some compilation warnings.pst1996-09-211-1/+1
|
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.markm1996-08-091-1/+2
|
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-271-0/+171
OpenPOWER on IntegriCloud