summaryrefslogtreecommitdiff
path: root/find_path.c
Commit message (Collapse)AuthorAgeFilesLines
* o Change defaults stuff to put the value right in the struct.Todd C. Miller1999-10-071-4/+4
| | | | | | | o Implement mailer_flags o Store syslog stuff both in int and string form. Setting the string form magically updates the int version. o Add boolean attribute to strings where it makes sense to say !foo
* Add support for "Defaults" line in sudoers to make configuration variablesTodd C. Miller1999-09-081-6/+7
| | | | | | | | | | | | | | | | changable at runtime (and on a global, per-host and per-user basis). Both the names and the internal representation are still subject to change. It was necessary to make sudo_user.runas but a char ** instead of a char * since this value can be changed by a Defaults line. There is a similar (but more complicated) issue with sudo_user.prompt but it is handled differently at the moment. Add a "-L" flag to list the name of options with their descriptions. This may only be temporary. Move some prototypes to parse.h Be much less restrictive on what is allowed for a username.
* Run most of the code as root, not the invoking user. It doesn't reallyTodd C. Miller1999-08-201-1/+0
| | | | | | gain us anything to run as the user since an attacker can just have an setuid(0) in their egg. Running as root solves potential problems wrt signalling.
* add 4th term to license similar to term 5 in the apache licenseTodd C. Miller1999-07-311-0/+7
|
* BSD-style copyright, cosmetic changesTodd C. Miller1999-07-221-52/+34
|
* Move interface-related defines to interfaces.h so we don't have to includeTodd C. Miller1999-05-171-1/+0
| | | | <netinet/in.h> everywhere.
* Function names should be flush with the start of the line so they can be ↵Todd C. Miller1999-04-101-1/+2
| | | | found trivially in an editor and with grep
* free(3) is already void, no need to cast itTodd C. Miller1999-04-101-1/+1
|
* Crank version to 1.6 and combine copyright statementsTodd C. Miller1999-04-051-1/+1
|
* ++versionTodd C. Miller1999-03-291-1/+1
|
* Use emalloc/erealloc/estrdupTodd C. Miller1999-03-291-14/+2
|
* add explicate copyrightTodd C. Miller1999-02-031-0/+1
|
* add sudo tagsTodd C. Miller1999-01-171-1/+1
|
* crank version and regen filesTodd C. Miller1999-01-171-1/+1
|
* more -WallTodd C. Miller1998-11-181-5/+3
|
* -WallTodd C. Miller1998-11-181-1/+1
|
* return NOT_FOUND if given fully qualified path and it does not existTodd C. Miller1998-11-141-7/+2
| | | | | previously it would perror(ENOENT) which bypasses the option to not leak path info
* go back to printing "command not found" unless --disable-path-infoTodd C. Miller1998-11-081-25/+31
| | | | | specified. Also, tell user when we ignore '.' in their path and it would have been used but for --with-ignore-dot.
* no more options.hTodd C. Miller1998-10-151-1/+0
|
* updated versionTodd C. Miller1998-09-171-1/+1
|
* updated versionTodd C. Miller1998-04-061-1/+1
|
* MAX* + 1 -> MAX*Todd C. Miller1998-04-061-2/+2
|
* updated versionTodd C. Miller1998-03-311-1/+1
|
* updated versionTodd C. Miller1998-02-181-1/+1
|
* updated versionTodd C. Miller1998-02-171-1/+1
|
* updated versionTodd C. Miller1998-02-061-1/+1
|
* updated versionTodd C. Miller1998-01-211-1/+1
|
* updated versionTodd C. Miller1998-01-211-1/+1
|
* ++versionTodd C. Miller1998-01-131-1/+1
|
* ++versionTodd C. Miller1996-11-141-1/+1
|
* off by one error in path size checkTodd C. Miller1996-11-141-2/+1
|
* ++versionTodd C. Miller1996-10-071-1/+1
|
* courtesanTodd C. Miller1996-09-081-1/+1
|
* ++versionTodd C. Miller1996-08-301-1/+1
|
* ++versionTodd C. Miller1996-08-171-1/+1
|
* -DNO_DOT_PATH -> -DIGNORE_DOT_PATHTodd C. Miller1996-03-191-6/+6
|
* added NO_DOT_PATHTodd C. Miller1996-03-171-0/+6
|
* checkdot now works correctlyTodd C. Miller1996-03-161-4/+2
|
* ++versionTodd C. Miller1996-01-141-1/+1
|
* ++versionTodd C. Miller1996-01-091-1/+1
|
* ++versionTodd C. Miller1995-12-181-1/+1
|
* added explict casts for strdup since many includes don't prototypeTodd C. Miller1995-11-251-1/+1
| | | | it. gag me.
* updated version numberTodd C. Miller1995-11-191-1/+1
|
* options.h is now <> instead of "" so shadow build trees canTodd C. Miller1995-11-131-1/+1
| | | | have a custom copy of options.h
* don't include malloc.h if we include stdlib.hTodd C. Miller1995-09-131-2/+2
|
* if given a fully-qualified or relative path we now check itTodd C. Miller1995-09-011-3/+12
| | | | | with sudo_goodpath() and error out with the appropriate error message if the file does not exist or is not executable
* fixed prreadlink() prototypeTodd C. Miller1995-07-181-1/+1
|
* NULL -> '\0'Todd C. Miller1995-03-291-1/+1
|
* don't check for execute/statable if fq or relative path givenTodd C. Miller1995-03-281-2/+2
|
* removed all the realpath() stuffTodd C. Miller1995-03-261-101/+23
|