]> git.pld-linux.org Git - packages/lin_tape.git/blame - insecure-perms.patch
- fix insecure permission on /proc files (build fails on 3.17)
[packages/lin_tape.git] / insecure-perms.patch
CommitLineData
f2747b63
JR
1--- lin_tape-2.9.1/lin_tape_scsi_config.c~ 2014-11-09 16:31:44.000000000 +0100
2+++ lin_tape-2.9.1/lin_tape_scsi_config.c 2014-11-09 16:33:25.734671175 +0100
3@@ -111,7 +111,7 @@
4
5 } /* lin_tape_debug_store() */
6
7-DRIVER_ATTR(lin_tape_debug, 0666, lin_tape_debug_show, lin_tape_debug_store);
8+DRIVER_ATTR(lin_tape_debug, 0664, lin_tape_debug_show, lin_tape_debug_store);
9
10 /*******************************************************************************
11 * *
12@@ -166,7 +166,7 @@
13
14 } /* auto_logging_store() */
15
16-DRIVER_ATTR(auto_logging, 0666, auto_logging_show, auto_logging_store);
17+DRIVER_ATTR(auto_logging, 0664, auto_logging_show, auto_logging_store);
18
19 /*******************************************************************************
20 * *
21@@ -220,7 +220,7 @@
22
23 } /* petro_store() */
24
25-DRIVER_ATTR(petro, 0666, petro_show, petro_store);
26+DRIVER_ATTR(petro, 0664, petro_show, petro_store);
27
28 /*******************************************************************************
29 * *
30@@ -275,7 +275,7 @@
31
32 } /* support_dio_store() */
33
34-DRIVER_ATTR(support_dio, 0666, support_dio_show, support_dio_store);
35+DRIVER_ATTR(support_dio, 0664, support_dio_show, support_dio_store);
36
37 /*******************************************************************************
38 * *
39@@ -356,7 +356,7 @@
40 return count;
41 } /* changer_open_reserve_show() */
42
43-DRIVER_ATTR(changer_open_reserve, 0666, changer_open_reserve_show,
44+DRIVER_ATTR(changer_open_reserve, 0664, changer_open_reserve_show,
45 changer_open_reserve_store);
46
47 /*******************************************************************************
48@@ -527,7 +527,7 @@
49
50 } /* disable_density_on_open_store() */
51
52-DRIVER_ATTR(disable_density_on_open, 0666, disable_density_on_open_show,
53+DRIVER_ATTR(disable_density_on_open, 0664, disable_density_on_open_show,
54 disable_density_on_open_store);
55
56 /*******************************************************************************
57@@ -583,7 +583,7 @@
58
59 } /* dynamic_attributes_store() */
60
61-DRIVER_ATTR(dynamic_attributes, 0666, dynamic_attributes_show,
62+DRIVER_ATTR(dynamic_attributes, 0664, dynamic_attributes_show,
63 dynamic_attributes_store);
64
65 /*******************************************************************************
66@@ -699,7 +699,7 @@
67 #else
68 static DEVICE_ATTR(sys_encryption_proxy,
69 #endif
70- 0666,
71+ 0664,
72 lin_tape_class_device_encryption_proxy_show,
73 lin_tape_class_device_encryption_proxy_set);
74
75@@ -813,7 +813,7 @@
76 #else
77 static DEVICE_ATTR(sys_encryption_write,
78 #endif
79- 0666,
80+ 0664,
81 lin_tape_class_device_encryption_write_show,
82 lin_tape_class_device_encryption_write_set);
83
This page took 0.135195 seconds and 4 git commands to generate.