/[smeserver]/rpms/e-smith-devtools/sme10/e-smith-devtools-2.6.0-use_c_wrapper_for_cgi.patch
ViewVC logotype

Contents of /rpms/e-smith-devtools/sme10/e-smith-devtools-2.6.0-use_c_wrapper_for_cgi.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu May 12 17:08:37 2016 UTC (8 years ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-4_el7_sme, e-smith-devtools-2_6_0-7_el7_sme, e-smith-devtools-2_6_0-12_el7_sme, e-smith-devtools-2_6_0-11_el7_sme, e-smith-devtools-2_6_0-14_el7_sme, e-smith-devtools-2_6_0-13_el7_sme, e-smith-devtools-2_6_0-6_el7_sme, e-smith-devtools-2_6_0-9_el7_sme, e-smith-devtools-2_6_0-5_el7_sme, e-smith-devtools-2_6_0-8_el7_sme, e-smith-devtools-2_6_0-10_el7_sme, HEAD
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
- Panel links points on the manager's C wrapper, and original cgi are not
  suid anymore. [SME: 9393]
- console is now also called through a C wrapper to replace perl-suid [SME: 9393]

1 diff -Nur e-smith-devtools-2.6.0/CreateLinks.pm e-smith-devtools-2.6.0_bz9393/CreateLinks.pm
2 --- e-smith-devtools-2.6.0/CreateLinks.pm 2016-02-04 23:51:36.000000000 +0100
3 +++ e-smith-devtools-2.6.0_bz9393/CreateLinks.pm 2016-05-11 22:52:22.211252830 +0200
4 @@ -89,7 +89,7 @@
5 my ($function, $panel) = @_;
6 my $cgibin = "root/etc/e-smith/web/panels/$panel/cgi-bin";
7
8 - safe_symlink("../../../functions/$function",
9 + safe_symlink("../../../functions/wrapper",
10 "$cgibin/$function")
11 }
12
13 diff -Nur e-smith-devtools-2.6.0/genfilelist e-smith-devtools-2.6.0_bz9393/genfilelist
14 --- e-smith-devtools-2.6.0/genfilelist 2016-05-11 22:50:34.394307844 +0200
15 +++ e-smith-devtools-2.6.0_bz9393/genfilelist 2016-05-12 19:05:12.078639888 +0200
16 @@ -125,11 +125,12 @@
17 '/etc/cron.daily/' => "%attr(0744,root,root)",
18 '/etc/cron.weekly/' => "%attr(0744,root,root)",
19 '/etc/diald/scripts/' => "%attr(0744,root,root)",
20 -'/etc/e-smith/web/functions/' => "%attr(04750,root,admin)",
21 +'/etc/e-smith/web/functions/' => "%attr(0500,root,root)",
22 '/etc/e-smith/web/panels/password/cgi-bin/' => "%attr(06550,root,admin)",
23 '/etc/e-smith/web/panels/' => "%attr(06550,root,admin)",
24 '/home/e-smith/files/manager/html/index.cgi' => "%attr(0755,root,root)",
25 -'/sbin/e-smith/console' => "%attr(06554,root,root)",
26 +'/sbin/e-smith/console' => "%attr(06550,root,root)",
27 +'/sbin/e-smith/console.pl' => "%attr(0550,root,root)",
28 '/sbin/e-smith/dynamic-dns/' => "%attr(0554,root,root)",
29 '/sbin/e-smith/quicktest' => "%attr(0555,root,root)",
30 '/sbin/e-smith/smoketest' => "%attr(0555,root,root)",

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed