summaryrefslogtreecommitdiffstats
path: root/src/clients/ksu/setenv.c
Commit message (Collapse)AuthorAgeFilesLines
* Include autoconf.h before system headersGreg Hudson2014-07-081-1/+1
| | | | | | | | | Include autoconf.h (either directly or via proxy) before system headers, so that feature test macros defined there can affect the system namespace. Where include order was changed, eliminate some redundant or unnecessary includes. ticket: 7961
* Fix implicit declaration in ksu for some buildsGreg Hudson2011-12-281-0/+1
| | | | | | | | | ksu's setenv implementation needs to include <string.h> for memcpy. Patch from basch@alum.mit.edu. ticket: 7057 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25605 dc483132-0cff-0310-8789-dd5450dbe970
* Adjust most C source files to match the new standards for copyrightGreg Hudson2011-03-091-16/+16
| | | | | | and license comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
* make mark-cstyleTom Yu2009-10-311-80/+81
| | | | | | make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Include autoconf.hKen Raeburn2006-04-041-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17844 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Include stdlib.h, provide prototypes for setenv andEzra Peisach2001-07-231-2/+9
| | | | | | unsetenv before declaration. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13627 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Add prototype for _findenv to avoid inconsistancy ofEzra Peisach2001-06-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | static vs. extern. * heuristic.c (find_either_ticket): Change krb5_tgtname() to ksu_tgtname(). * ccache.c: Include <sys/types.h> and <sys/stat.h> for start() prototype. * krb_auth_su.c: Reindent for readability. Remove defunct code. Change use of krb5_tgtname to ksu_tgtname(). * ksu.h: Include k5-util.h for krb5_seteuid() prototype. Add prototype for ksu_tgtname. Add prototype for unsetenv() if not defined. * main.c: Include grp.h for initgroups() prototype. Cleanup assignment in conditional warning. Reindent for readability. Arguments to print_status made consistant with regard to long vs. int. Change krb5_tgtname to ksu_tgtname. (do not use an internal krb5 function that is not advertised). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13328 dc483132-0cff-0310-8789-dd5450dbe970
* * authorization.c, heuristic.c, krb_auth_su.c, main.c, setenv.c:Ezra Peisach2001-06-051-1/+2
| | | | | | Cleanup assignments in conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13272 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Add conditionals for compilation of setenv, unsetenv,Tom Yu2001-04-041-2/+7
| | | | | | | and getenv such that they only get compiled if they don't already exist. [pullup from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13142 dc483132-0cff-0310-8789-dd5450dbe970
* merge from 1.1 branchKen Raeburn1999-12-061-0/+158
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11952 dc483132-0cff-0310-8789-dd5450dbe970