Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-6.8.0-124 /
scripts /
kconfig /
Delete
Unzip
Name
Size
Permission
Date
Action
lxdialog
[ DIR ]
drwxr-xr-x
2026-06-04 06:36
tests
[ DIR ]
drwxr-xr-x
2026-06-04 06:36
.gitignore
124
B
-rw-r--r--
2024-03-10 20:38
Makefile
8.51
KB
-rw-r--r--
2026-05-26 09:55
conf.c
19.93
KB
-rw-r--r--
2024-03-10 20:38
confdata.c
24.99
KB
-rw-r--r--
2026-05-26 09:55
expr.c
29.51
KB
-rw-r--r--
2026-05-26 09:55
expr.h
9.42
KB
-rw-r--r--
2026-05-26 09:55
gconf-cfg.sh
784
B
-rwxr-xr-x
2024-03-10 20:38
gconf.c
37.92
KB
-rw-r--r--
2026-05-26 09:55
gconf.glade
25.04
KB
-rw-r--r--
2024-03-10 20:38
images.c
6.42
KB
-rw-r--r--
2024-03-10 20:38
images.h
857
B
-rw-r--r--
2024-03-10 20:38
internal.h
172
B
-rw-r--r--
2024-03-10 20:38
lexer.l
9.07
KB
-rw-r--r--
2026-05-26 09:55
list.h
3.66
KB
-rw-r--r--
2024-03-10 20:38
lkc.h
3.71
KB
-rw-r--r--
2026-05-26 09:55
lkc_proto.h
2.03
KB
-rw-r--r--
2024-03-10 20:38
mconf-cfg.sh
1.47
KB
-rwxr-xr-x
2024-03-10 20:38
mconf.c
26.09
KB
-rw-r--r--
2026-05-26 09:55
menu.c
21.04
KB
-rw-r--r--
2026-05-26 09:55
merge_config.sh
5.29
KB
-rwxr-xr-x
2026-05-26 09:55
mnconf-common.c
794
B
-rw-r--r--
2024-03-10 20:38
mnconf-common.h
372
B
-rw-r--r--
2024-03-10 20:38
nconf-cfg.sh
1.44
KB
-rwxr-xr-x
2026-05-26 09:55
nconf.c
39.08
KB
-rw-r--r--
2026-05-26 09:55
nconf.gui.c
15.22
KB
-rw-r--r--
2026-05-26 09:55
nconf.h
2.21
KB
-rw-r--r--
2024-03-10 20:38
parser.y
15.24
KB
-rw-r--r--
2024-03-10 20:38
preprocess.c
11.07
KB
-rw-r--r--
2024-03-10 20:38
qconf-cfg.sh
1011
B
-rwxr-xr-x
2024-03-10 20:38
qconf.cc
43.54
KB
-rw-r--r--
2026-05-26 09:55
qconf.h
6.4
KB
-rw-r--r--
2024-03-10 20:38
streamline_config.pl
16.43
KB
-rwxr-xr-x
2024-03-10 20:38
symbol.c
28.17
KB
-rw-r--r--
2026-05-26 09:55
util.c
2.14
KB
-rw-r--r--
2024-03-10 20:38
Save
Rename
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org> * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org> */ #include <stdarg.h> #include <stdlib.h> #include <string.h> #include "lkc.h" /* file already present in list? If not add it */ struct file *file_lookup(const char *name) { struct file *file; for (file = file_list; file; file = file->next) { if (!strcmp(name, file->name)) { return file; } } file = xmalloc(sizeof(*file)); memset(file, 0, sizeof(*file)); file->name = xstrdup(name); file->next = file_list; file_list = file; return file; } /* Allocate initial growable string */ struct gstr str_new(void) { struct gstr gs; gs.s = xmalloc(sizeof(char) * 64); gs.len = 64; gs.max_width = 0; strcpy(gs.s, "\0"); return gs; } /* Free storage for growable string */ void str_free(struct gstr *gs) { free(gs->s); gs->s = NULL; gs->len = 0; } /* Append to growable string */ void str_append(struct gstr *gs, const char *s) { size_t l; if (s) { l = strlen(gs->s) + strlen(s) + 1; if (l > gs->len) { gs->s = xrealloc(gs->s, l); gs->len = l; } strcat(gs->s, s); } } /* Append printf formatted string to growable string */ void str_printf(struct gstr *gs, const char *fmt, ...) { va_list ap; char s[10000]; /* big enough... */ va_start(ap, fmt); vsnprintf(s, sizeof(s), fmt, ap); str_append(gs, s); va_end(ap); } /* Retrieve value of growable string */ char *str_get(struct gstr *gs) { return gs->s; } void *xmalloc(size_t size) { void *p = malloc(size); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } void *xcalloc(size_t nmemb, size_t size) { void *p = calloc(nmemb, size); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } void *xrealloc(void *p, size_t size) { p = realloc(p, size); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } char *xstrdup(const char *s) { char *p; p = strdup(s); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } char *xstrndup(const char *s, size_t n) { char *p; p = strndup(s, n); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); }