version 1.24, 2013/12/01 22:29:39
|
version 1.57, 2024/06/20 04:04:55
|
Line 37 http://www.lon-capa.org/
|
Line 37 http://www.lon-capa.org/
|
<perlscript mode="fg" dist="default"> |
<perlscript mode="fg" dist="default"> |
#print("Not wrapping setuid scripts\n"); |
#print("Not wrapping setuid scripts\n"); |
</perlscript> |
</perlscript> |
<perlscript mode="fg" dist="suse9.2 suse9.3 sles9 sles10 sles11 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 ubuntu12"> |
<perlscript mode="fg" dist="suse9.2 suse9.3 sles9 sles10 sles11 sles12 sles15 suse10.1 suse10.2 suse10.3 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 suse13.1 suse13.2 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 fedora21 fedora22 fedora23 fedora24 fedora25 fedora26 fedora27 fedora28 fedora29 fedora30 fedora31 fedora32 fedora33 fedora34 fedora35 fedora36 fedora37 fedora38 fedora39 fedora40 debian10 debian11 debian12 ubuntu12 ubuntu14 ubuntu16 ubuntu18 ubuntu20 ubuntu22 ubuntu24 rhes7 centos7 scientific7 oracle7 rhes8 centos8 oracle8 rocky8 alma8 centos8-stream centos9-stream rhes9 oracle9 rocky9 alma9"> |
|
|
$fslist='<TARGET />'; |
$fslist='<TARGET />'; |
open(FIND, "find <TARGET /> -xdev -type f \\( -perm -04000 -o -perm -02000 \\) -print|"); |
open(FIND, "find <TARGET /> -xdev -type f \\( -perm -04000 -o -perm -02000 \\) -print|"); |
Line 55 while (<FIND>) {
|
Line 55 while (<FIND>) {
|
open(C,">.tmp$$.c") || die("Can't write C program for $_"); |
open(C,">.tmp$$.c") || die("Can't write C program for $_"); |
$real = "$dir/.$file"; |
$real = "$dir/.$file"; |
print C ' |
print C ' |
main(argc,argv) |
int execv (const char *filename, char *const argv[]); |
|
int main(argc,argv) |
int argc; |
int argc; |
char **argv; |
char **argv; |
{ |
{ |