summaryrefslogtreecommitdiff
path: root/libexec/ftpd/popen.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC:Mike Heffner2001-08-091-1/+1
| | | | | | | | | | | | | | | | | | | 1.5 +5 -3 src/include/glob.h 1.17 +17 -18 src/lib/libc/gen/glob.3 1.18 +3 -2 src/lib/libc/gen/glob.3 1.19 +2 -2 src/lib/libc/gen/glob.3 1.18 +9 -5 src/lib/libc/gen/glob.c 1.79 +2 -2 src/libexec/ftpd/ftpd.c 1.21 +2 -2 src/libexec/ftpd/popen.c To be more compatible with NetBSD/OpenBSD, rename the GLOB_MAXPATH flag to GLOB_LIMIT and use GLOB_NOSPACE with errno=0, instead of GLOB_LIMIT, when we reach the maximum number of matches. Approved by: re Notes: svn path=/stable/4/; revision=81329
* MFC: globbing limits for ftpd.Jonathan Lemon2001-03-211-0/+2
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=74577
* MFC: Honour skey.access(5) by allowing UNIX passwords when skeyaccess(3)Jordan K. Hubbard2000-09-201-1/+0
| | | | | | | has set pwok to a non-zero value. Eliminate gratuitous extern. Notes: svn path=/stable/4/; revision=66117
* another tcp apps IPv6 updates.(should be make world safe)Yoshinobu Inoue2000-01-271-0/+1
| | | | | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project Notes: svn path=/head/; revision=56668
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyonePeter Wemm1999-08-261-9/+1
| | | | | | | | really dislikes this, we could add a switch to disable it at runtime and check in popen.c. Notes: svn path=/head/; revision=50380
* Back out "always UTC" fix since some people want visually identical 'ls'Andrey A. Chernov1998-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 Notes: svn path=/head/; revision=36140
* Return back vfork and use execve with TZ="" environment in vfork caseAndrey A. Chernov1998-05-151-5/+7
| | | | Notes: svn path=/head/; revision=36072
* Use fork instead of vfork since setenv clobber parent environmentAndrey A. Chernov1998-05-151-4/+2
| | | | | | | Fork already used for INTERNAL_LS in anycase Notes: svn path=/head/; revision=36070
* Move TZ="" assignment just before exec to not touch other time stuffAndrey A. Chernov1998-05-151-1/+3
| | | | Notes: svn path=/head/; revision=36068
* Fixed a bug where if MAXUSRARGS amount of args were passed in, the argv[]David Greenman1998-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. Notes: svn path=/head/; revision=35474
* PR: 5812Daniel O'Callaghan1998-02-251-1/+5
| | | | | | | | | Pointed-in-the-right-driection-by: Mike Smith and Steve Price Close syslogging before calling ls_main() Notes: svn path=/head/; revision=33829
* Cosmetics in man page. Exit(-1) -> exit(1).Philippe Charnier1997-11-211-4/+4
| | | | Notes: svn path=/head/; revision=31329
* Adds optional "internal ls" support for ftpd, by collectingDavid Nugent1997-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. Notes: svn path=/head/; revision=25165
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Truncate argument list to avoid buffer overflows.Paul Traina1996-11-201-5/+9
| | | | | | | Cannidate for: 2.1 and 2.2 Notes: svn path=/head/; revision=19902
* add forgotten $Id$Wolfram Schneider1996-09-221-0/+2
| | | | Notes: svn path=/head/; revision=18471
* Fix some compilation warnings.Paul Traina1996-09-211-1/+1
| | | | Notes: svn path=/head/; revision=18449
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.Mark Murray1996-08-091-1/+2
| | | | Notes: svn path=/head/; revision=17478
* BSD 4.4 Lite Libexec SourcesRodney W. Grimes1994-05-271-0/+171
Notes: svn path=/vendor/CSRG/dist/; revision=1592