Home | History | Annotate | Download | only in src

Lines Matching defs:in

16  *  This library is distributed in the hope that it will be useful,
128 /* A node used in a linked list of file contexts; used for sorting.
138 int meta; /* position of first meta char in path, -1 if none */
142 /* A node used in a linked list of buckets that contain
150 /* A node used in a linked list of netfilter rules.
396 /* THIS MUST BE THE FIRST FUNCTION CALLED IN THIS LIBRARY. If the
481 * configuration file. If semanage.conf file in the semanage
673 int in, out, retval = 0, amount_read, n, errsv = errno;
682 if ((in = open(src, O_RDONLY)) == -1) {
693 close(in);
698 while (retval == 0 && (amount_read = read(in, buf, sizeof(buf))) > 0) {
708 close(in);
1033 * handler has a transaction lock. Allocates and fills in *modinfos
1034 * with an array of module infos; length of array is stored in
1189 * argument pointer passed in. Returns -1 on error. Increments
1352 /* Take the arguments given in v->args and expand any $ macros within.
1674 * function then the store will be left in an
1684 * function then the store will be left in an
1715 /* Takes the kernel policy in a sandbox, move it to the active
1727 "No load_policy program specified in configuration file.");
1731 ERR(sh, "No setfiles program specified in configuration file.");
1736 ERR(sh, "No sefcontext_compile program specified in configuration file.");
2008 int semanage_read_policydb(semanage_handle_t * sh, sepol_policydb_t * in)
2032 if (sepol_policydb_read(in, pf) == -1) {
2201 * in order from most important to least important, given a and b:
2254 * The left list is assumed to represent nodes that came first in the original ordering.
2299 * A bucket linked list is passed in. Upon completion,
2301 * contains a linked list of all the file contexts in sorted order.
2335 * in the bucket because it has been
2345 * meta character in the path of the given node, if it exists.
2358 * spec_hasMetaChars in matchpathcon.c from
2405 /* Returns a pointer to the end of line character in the given buffer.
2406 * Used in the context of a file context char buffer that we will be
2612 type_len = 0; /* inode type did not exist in the file context */
2663 /* Detach the node in the bucket from the old list. */