summaryrefslogtreecommitdiff
path: root/libexec/ftpd/popen.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06]Colin Percival2011-12-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | Add an API for alerting internal libc routines to the presence of "unsafe" paths post-chroot, and use it in ftpd. [11:07] Fix a buffer overflow in telnetd. [11:08] Make pam_ssh ignore unpassphrased keys unless the "nullok" option is specified. [11:09] Add sanity checking of service names in pam_start. [11:10] Approved by: so (cperciva) Approved by: re (bz) Security: FreeBSD-SA-11:06.bind Security: FreeBSD-SA-11:07.chroot Security: FreeBSD-SA-11:08.telnetd Security: FreeBSD-SA-11:09.pam_ssh Security: FreeBSD-SA-11:10.pam Notes: svn path=/stable/8/; revision=228843
* MFC r205656:Xin LI2010-04-011-1/+2
| | | | | | | | | | | | Check that gl_pathc is bigger than zero before derefencing gl_pathv. When gl_pathc == 0, the content of gl_pathv is undefined. PR: bin/144761 Submitted by: David BERARD <contact davidberard fr> Obtained from: OpenBSD Notes: svn path=/stable/8/; revision=206025
* Use __FBSDID.Yaroslav Tykhiy2004-11-181-2/+3
| | | | Notes: svn path=/head/; revision=137859
* Kill ancient casts to integral types left from the K&R era.Yaroslav Tykhiy2004-11-131-1/+1
| | | | | | | They're unneeded and sometimes erroneous now. Notes: svn path=/head/; revision=137659
* Eliminate last three uses of varargs.h in the tree. These three filesAlexander Kabaev2003-09-011-1/+0
| | | | | | | | were including varargs.h file but did not use any of its macros, so they escaped the clean-up before. Notes: svn path=/head/; revision=119632
* GLOB_QUOTE has been retired.Mike Heffner2002-07-171-1/+1
| | | | Notes: svn path=/head/; revision=100222
* o Eliminate __PWarner Losh2002-02-031-4/+2
| | | | | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register Notes: svn path=/head/; revision=90148
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatibleMike Heffner2001-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 Notes: svn path=/head/; revision=80525
* Teach ftpd about the new GLOB_MAXPATH flag.Jonathan Lemon2001-03-191-0/+2
| | | | Notes: svn path=/head/; revision=74470
* remove redundant optreset declarationWarner Losh2000-09-041-1/+0
| | | | Notes: svn path=/head/; revision=65425
* 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