mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Patch against a bug which is a local root vulnerability on other platforms,
but which I could not repeat on FreeBSD. It may still be a problem, but it looks like screen was already dropping privilege before the operation in question. Submitted by: Roman Drahtmueller <draht@suse.de>
This commit is contained in:
parent
3ef1afa8d7
commit
d9b67c242d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47431
4 changed files with 28 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= screen
|
PORTNAME= screen
|
||||||
PORTVERSION= 3.9.9
|
PORTVERSION= 3.9.9
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
|
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
|
||||||
${MASTER_SITE_GNU}
|
${MASTER_SITE_GNU}
|
||||||
|
|
13
misc/screen/files/patch-sec1
Normal file
13
misc/screen/files/patch-sec1
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- screen.c.orig Fri May 25 16:40:10 2001
|
||||||
|
+++ screen.c Mon Sep 3 15:48:24 2001
|
||||||
|
@@ -1061,6 +1061,10 @@
|
||||||
|
Attacher();
|
||||||
|
/* NOTREACHED */
|
||||||
|
}
|
||||||
|
+#ifdef MULTIUSER
|
||||||
|
+ if (multiattach)
|
||||||
|
+ Panic(0, "Can't create sessions of other users.");
|
||||||
|
+#endif
|
||||||
|
debug("screen -r: backend not responding -- still crying\n");
|
||||||
|
}
|
||||||
|
else if (dflag && !mflag)
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= screen
|
PORTNAME= screen
|
||||||
PORTVERSION= 3.9.9
|
PORTVERSION= 3.9.9
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
|
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
|
||||||
${MASTER_SITE_GNU}
|
${MASTER_SITE_GNU}
|
||||||
|
|
13
sysutils/screen/files/patch-sec1
Normal file
13
sysutils/screen/files/patch-sec1
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- screen.c.orig Fri May 25 16:40:10 2001
|
||||||
|
+++ screen.c Mon Sep 3 15:48:24 2001
|
||||||
|
@@ -1061,6 +1061,10 @@
|
||||||
|
Attacher();
|
||||||
|
/* NOTREACHED */
|
||||||
|
}
|
||||||
|
+#ifdef MULTIUSER
|
||||||
|
+ if (multiattach)
|
||||||
|
+ Panic(0, "Can't create sessions of other users.");
|
||||||
|
+#endif
|
||||||
|
debug("screen -r: backend not responding -- still crying\n");
|
||||||
|
}
|
||||||
|
else if (dflag && !mflag)
|
Loading…
Add table
Reference in a new issue