Searched refs:basedir (Results 1 – 2 of 2) sorted by relevance
22 my $basedir="";57 "basedir|b=s" => \$basedir,73 die $usage unless $basedir && ( $kernel || $kernelsyms );79 $basedir =~ s-/+$--g;82 if($basedir !~ m-/lib/modules-) {87 if($basedir !~ m-/lib/modules/\d\.\d-) {88 opendir(BD, $basedir) or die "can't open basedir $basedir : $!\n";91 next unless -d "$basedir/$_";95 warn("Guessed module directory as $basedir/$kdir\n");100 die "Cannot find a kernel version under $basedir\n" unless $kdir;[all …]
1299 const char *basedir = argv[0]; in ftpd_main() local1304 if (chroot(basedir) == 0) in ftpd_main()1305 basedir = "/"; in ftpd_main()1318 xchdir(basedir); in ftpd_main()