/src/sys/arch/atari/stand/loadkmap/ |
loadkmap.c | 21 char *mapfile; local in function:main 26 mapfile = argv[2]; 33 mapfile = argv[1]; 38 rc = load_kmap(mapfile, set_sysmap);
|
/src/sbin/mount_umap/ |
mount_umap.c | 77 * be mounted, the name of the user mapfile, and the name of the group 78 * mapfile. The routine checks the ownerships and permissions on the 111 char *gmapfile, *mapfile, buf[20]; local in function:mount_umap 116 mapfile = gmapfile = NULL; 132 mapfile = optarg; 141 if (argc != 2 || mapfile == NULL || gmapfile == NULL) 148 if ((fp = fopen(mapfile, "r")) == NULL) 149 err(1, "%s%s", mapfile, not); 154 * this mapfile, and that the mapfile belongs to root. [all...] |
/src/libexec/httpd/ |
bozohttpd.c | 1209 int mapfile; local in function:check_remap 1213 mapfile = open(REMAP_FILE, O_RDONLY, 0); 1214 if (mapfile == -1) 1217 if (fstat(mapfile, &st) == -1) { 1223 fmap = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, mapfile, 0); 1313 close(mapfile);
|