Ignore:
Timestamp:
Jan 17, 2009, 4:38:03 PM (14 years ago)
Author:
geofft
Message:
Add xaml and xap as static files for Silverlight, per [help.mit.edu #788683]
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/patches/httpd-suexec-scripts.patch

    r908 r944  
    7373 
    7474     /* variable name is */
    75 @@ -245,9 +250,65 @@
     75@@ -245,9 +250,67 @@
    7676     environ = cleanenv;
    7777 }
     
    111111+    "xhtml",
    112112+    "svg",
     113+    "xaml",
     114+    "xap",
    113115+    NULL
    114116+};
     
    139141     gid_t gid;              /* target group placeholder  */
    140142     char *target_uname;     /* target user name          */
    141 @@ -350,6 +404,20 @@
     143@@ -350,6 +406,20 @@
    142144 #endif /*_OSD_POSIX*/
    143145 
     
    160162      * or attempts to back up out of the current directory,
    161163      * to protect against attacks.  If any are
    162 @@ -371,6 +439,7 @@
     164@@ -371,6 +441,7 @@
    163165         userdir = 1;
    164166     }
     
    168170      * Error out if the target username is invalid.
    169171      */
    170 @@ -450,7 +519,7 @@
     172@@ -450,7 +521,7 @@
    171173      * Error out if attempt is made to execute as root or as
    172174      * a UID less than AP_UID_MIN.  Tsk tsk.
     
    177179         exit(107);
    178180     }
    179 @@ -482,6 +551,21 @@
     181@@ -482,6 +553,21 @@
    180182         log_err("failed to setuid (%ld: %s)\n", uid, cmd);
    181183         exit(110);
     
    199201     /*
    200202      * Get the current working directory, as well as the proper
    201 @@ -504,6 +586,21 @@
     203@@ -504,6 +588,21 @@
    202204             log_err("cannot get docroot information (%s)\n", target_homedir);
    203205             exit(112);
     
    221223     else {
    222224         if (((chdir(AP_DOC_ROOT)) != 0) ||
    223 @@ -530,15 +627,17 @@
     225@@ -530,15 +629,17 @@
    224226     /*
    225227      * Error out if cwd is writable by others.
     
    240242         exit(117);
    241243     }
    242 @@ -546,10 +645,12 @@
     244@@ -546,10 +647,12 @@
    243245     /*
    244246      * Error out if the program is writable by others.
     
    253255     /*
    254256      * Error out if the file is setuid or setgid.
    255 @@ -563,6 +664,7 @@
     257@@ -563,6 +666,7 @@
    256258      * Error out if the target name/group is different from
    257259      * the name/group of the cwd or the program.
     
    261263         (gid != dir_info.st_gid) ||
    262264         (uid != prg_info.st_uid) ||
    263 @@ -574,12 +676,14 @@
     265@@ -574,12 +678,14 @@
    264266                 prg_info.st_uid, prg_info.st_gid);
    265267         exit(120);
     
    277279         exit(121);
    278280     }
    279 @@ -606,6 +709,21 @@
     281@@ -606,6 +711,21 @@
    280282       exit(122);
    281283     }
Note: See TracChangeset for help on using the changeset viewer.