blob: b4ebc61103b8ae8bee16d6f2da08c42e14c14747 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- teTeX-1.0/texk/dvipsk/dvips.c.secure 2002-05-28 12:18:55.000000000 +0100
+++ teTeX-1.0/texk/dvipsk/dvips.c 2002-05-28 12:26:38.000000000 +0100
@@ -64,7 +64,7 @@
Boolean cropmarks ; /* add cropmarks? */
Boolean abspage = 0 ; /* are page numbers absolute? */
Boolean tryepsf = 0 ; /* should we try to make it espf? */
-Boolean secure = 0 ; /* make safe for suid */
+Boolean secure = 1 ; /* make safe for suid */
int collatedcopies = 1 ; /* how many collated copies? */
int sectioncopies = 1 ; /* how many times to repeat each section? */
integer pagecopies = 1 ; /* how many times to repeat each page? */
@@ -280,7 +280,7 @@
"p # First page P s Load config.$s ",
#endif
"q* Run quietly ",
-"r* Reverse order of pages R Run securely ",
+"r* Reverse order of pages R Run securely (default) ",
"s* Enclose output in save/restore S # Max section size in pages ",
"t s Paper format T c Specify desired page size ",
"u s PS mapfile U* Disable string param trick ",
--- teTeX-1.0/texk/dvipsk/dvips.1.secure 2002-05-28 12:28:59.000000000 +0100
+++ teTeX-1.0/texk/dvipsk/dvips.1 2002-05-28 12:30:59.000000000 +0100
@@ -328,7 +328,9 @@
.I \\\special{psfile="`zcat foo.ps.Z"}
or
.I \epsffile[72 72 540 720]{"`zcat screendump.ps.gz"}
-are not executed.
+are not executed. This is the default; to run insecurely use the
+.B -R0
+option.
.TP
.B -s
Causes the entire global output to be enclosed in a save/restore pair.
|