summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/fcron/files/fcron-3.0.5-gentoo.patch')
-rw-r--r--sys-process/fcron/files/fcron-3.0.5-gentoo.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/sys-process/fcron/files/fcron-3.0.5-gentoo.patch b/sys-process/fcron/files/fcron-3.0.5-gentoo.patch
deleted file mode 100644
index bb9fbf01958c..000000000000
--- a/sys-process/fcron/files/fcron-3.0.5-gentoo.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: fcron-3.0.5/fcrontab.c
-===================================================================
---- fcron-3.0.5.orig/fcrontab.c
-+++ fcron-3.0.5/fcrontab.c
-@@ -391,7 +391,7 @@ list_file(char *file)
-
- explain("listing %s's fcrontab", user);
-
-- fd = open_as_user(file, useruid, fcrontab_uid, O_RDONLY);
-+ fd = open_as_user(file, useruid, fcrontab_gid, O_RDONLY);
- if ( fd < 0 ) {
- if ( errno == ENOENT ) {
- explain("user %s has no fcrontab.", user);
-@@ -1038,8 +1038,8 @@ main(int argc, char **argv)
- /* Open PAM session for the user and obtain any security
- credentials we might need */
-
-- debug("username: %s", user);
-- retcode = pam_start("fcrontab", user, &apamconv, &pamh);
-+ debug("username: %s runas: %s", user, runas);
-+ retcode = pam_start("fcrontab", runas, &apamconv, &pamh);
- if (retcode != PAM_SUCCESS) die_pame(pamh, retcode, "Could not start PAM");
- retcode = pam_authenticate(pamh, 0); /* is user really user? */
- if (retcode != PAM_SUCCESS)