summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/cdrtools/files/cdrtools-2.01-scsi-remote.patch')
-rw-r--r--app-cdr/cdrtools/files/cdrtools-2.01-scsi-remote.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/app-cdr/cdrtools/files/cdrtools-2.01-scsi-remote.patch b/app-cdr/cdrtools/files/cdrtools-2.01-scsi-remote.patch
deleted file mode 100644
index 556c5120bb2f..000000000000
--- a/app-cdr/cdrtools/files/cdrtools-2.01-scsi-remote.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- cdrecord-2.01/librscg/scsi-remote.c.org 2004-08-30 16:09:33.000000000 -0600
-+++ cdrecord-2.01/librscg/scsi-remote.c 2004-08-30 16:11:06.000000000 -0600
-@@ -1071,9 +1071,9 @@
- /*
- * Become 'locuser' to tell the rsh program the local user id.
- */
-- if (getuid() != pw->pw_uid &&
-- setuid(pw->pw_uid) == -1) {
-- errmsg("setuid(%lld) failed.\n",
-+ if ((pw->pw_uid) != geteuid() &&
-+ seteuid(pw->pw_uid) == -1) {
-+ errmsg("seteuid(%lld) failed.\n",
- (Llong)pw->pw_uid);
- _exit(EX_BAD);
- /* NOTREACHED */
---- cdrtools-2.01/rscsi/rscsi.dfl.org 2005-05-07 20:19:15.930567520 +0200
-+++ cdrtools-2.01/rscsi/rscsi.dfl 2005-05-07 20:19:21.072785784 +0200
-@@ -11,6 +11,8 @@
- # The file where debug info should go to.
- # If you don't like debugging (e.g. for speed) comment out
- # the this line.
-+# Security note: Set this to a safe place to write output, such as your home
-+# directory
- #
- #DEBUG=/tmp/RSCSI
-