Commit Graph

11 Commits

Author SHA1 Message Date
xtraeme 7e70b71d91 Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 02:53:55 +00:00
christos c2b5bf99ef PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3)
I simplified the patch addressed certain security concerns. I only
allowed setusercontext() to set resource limits/priority and umask,
because these are the values that are relevant from login.conf. The
rest of the settings (uid/gid/initgroups) should be done using e->uid
and e->gid like they were before, not from:

	struct passwd *pwd = getpwnam(getenv("LOGNAME"));

Finally login_cap's (path/env) are irrelevant in this context since
we want to use our e->envp anyway to execute the command.
2003-03-14 21:56:07 +00:00
christos 9ac7be0692 Warnsify:
- add __RCSID
	- remove nested comments
	- remove register and auto keywords
	- change into posix signals
	- fix prototypes
1998-01-31 14:40:13 +00:00
lukem 44c22033e4 use CPPFLAGS instead of CFLAGS 1997-10-23 06:31:59 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
mikel 2b8bc7438f RCSid police 1997-03-13 06:19:07 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
jtc 837601413b Don't compile with compat.c, since our C library allready has all the
functions it provides.
1994-01-20 02:56:55 +00:00
jtc 5f2a029904 Remove -DCRONDIR, macro is set correctly in pathnames.h. 1994-01-05 21:10:29 +00:00
jtc ba46c17534 Converted Makefile to use BSD make. 1994-01-05 20:57:27 +00:00
jtc 644d4f8787 Vixie Cron 3.0-prerelease, patch 9 1994-01-05 20:40:12 +00:00