search for: new_rul

Displaying 8 results from an estimated 8 matches for "new_rul".

Did you mean: new_rule
2020 Oct 03
0
[PATCH nbdkit v2 2/3] ip: Add filtering by process ID, user ID and group ID.
...uot;, name, rule->u.id, suffix); + break; + case BAD: nbdkit_debug ("%s=BAD(!)%s", name, suffix); break; @@ -227,6 +238,37 @@ parse_rule (const char *paramname, return 0; } + if (n >= 4 && ascii_strncasecmp (value, "pid:", 4) == 0) { + new_rule->type = PID; + if (nbdkit_parse_int ("pid:", &value[4], &new_rule->u.id) == -1) + return -1; + if (new_rule->u.id <= 0) { + nbdkit_error ("pid: parameter out of range"); + return -1; + } + return 0; + } + if (n >= 4 &&...
2020 Oct 03
2
[PATCH nbdkit 0/2] ip: Add filtering by process ID, user ID and group ID.
These two commits add new APIs and enhance nbdkit-ip-filter to allow filtering of Unix domain sockets by the client's PID, UID or GID. eg: nbdkit -U sock --filter=ip ... allow=uid:`id -u` deny=all Rich.
2020 Oct 05
4
[PATCH nbdkit v3 0/4] ip: Add filtering by process ID, user ID and group ID.
v2 was here: https://www.redhat.com/archives/libguestfs/2020-October/msg00019.html v3: * defence -> defense * Use int64_t instead of int. This compiles on Windows. * Add GC wrappers to OCaml bindings. * New FreeBSD patch. * Removed "pid:" example from the ip filter manual, and added a warning beside the pid documentation. Rich.
2020 Oct 03
7
[PATCH nbdkit v2 0/3] ip: Add filtering by process ID, user ID and group ID.
This is just a simple update to: https://www.redhat.com/archives/libguestfs/2020-October/msg00015.html rebased on top of current nbdkit master because I pushed a few simple refactorings. Rich.
2020 May 19
1
[PATCH nbdkit] common/include: Add locale-safe ascii_strcasecmp and ascii_strncasecmp.
...- if (n == 3 && (strncasecmp (value, "all", 3) == 0 || - strncasecmp (value, "any", 3) == 0)) { + if (n == 3 && (ascii_strncasecmp (value, "all", 3) == 0 || + ascii_strncasecmp (value, "any", 3) == 0)) { new_rule->type = ANY; return 0; } - if (n == 7 && (strncasecmp (value, "allipv4", 7) == 0 || - strncasecmp (value, "anyipv4", 7) == 0)) { + if (n == 7 && (ascii_strncasecmp (value, "allipv4", 7) == 0 || + ascii_str...
2005 Dec 19
8
Single Table Inheritance question
Hello, I''m having a heck of a time getting Single Table Inheritance to work in my app. I have the following models and have scaffolded out Person and Contact. person.rb class Person < ActiveRecord::Base has_many :contacts end client.rb class Client < Person end contact.rb class Contact < ActiveRecord::Base belongs_to :person end phone.rb class Phone < Contact end In
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...); extern int link_machines (int, int); extern void mark_beginning_as_normal (register int); extern int mkbranch (int, int); extern int mkclos (int); extern int mkopt (int); extern int mkor (int, int); extern int mkposcl (int); extern int mkrep (int, int, int); extern int mkstate (int); extern void new_rule (void); extern void build_eof_action (void); extern void format_pinpoint_message (char[], char[]); extern void pinpoint_message (char[]); extern void line_warning ( char[], int ); extern void line_pinpoint ( char[], int ); extern void format_synerr (char [], char[]); extern void synerr (char []);...