git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d638270
)
Force mode +x on insmod.static binary (RHBZ#666880).
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 12 May 2011 13:51:28 +0000
(14:51 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 12 May 2011 13:51:28 +0000
(14:51 +0100)
helper/init.c
patch
|
blob
|
history
diff --git
a/helper/init.c
b/helper/init.c
index
275f4db
..
06a7aa7
100644
(file)
--- a/
helper/init.c
+++ b/
helper/init.c
@@
-64,6
+64,12
@@
main ()
exit (EXIT_FAILURE);
}
+ /* A perennial problem is that /sbin/insmod.static is not
+ * executable. Just make it executable. It's easier than fixing
+ * everyone's distro.
+ */
+ chmod ("/sbin/insmod.static", 0755);
+
FILE *fp = fopen ("/modules", "r");
if (fp == NULL) {
perror ("fopen: /modules");