INNER CODE UNIT · C

is_allowed_dpkg_option

witchan/ios-mcp · mcp-root/main.c:306

static int is_allowed_dpkg_option(const char *arg) {
    static const char *const allowedOptions[] = {
        "--force-all",
        "--force-depends",
        "--force-overwrite",
        "--force-confnew",
        "--force-confold",
        "--force-confdef",
        "--force-unsafe-io",
        "--no-triggers",
    };
    size_t i;

    if (!arg) {
        return 0;
    }

    for (i = 0; i < sizeof(allowedOptions) / sizeof(allowedOptions[0]); i++) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…