Searched refs:mode (Results 1 - 25 of 53) sorted by relevance

123

/bind-9.11.3/lib/dns/rdata/generic/
H A Dtkey_249.h23 isc_uint16_t mode; member in struct:dns_rdata_tkey
/bind-9.11.3/lib/isc/unix/
H A Dfsaccess.c29 mode_t mode; local
49 mode = 0;
53 mode |= modebit; \
80 if (chmod(path, mode) < 0)
H A Dfile.c301 int mode = S_IWUSR|S_IRUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; local
302 return (isc_file_openuniquemode(templet, mode, fp));
307 int mode = S_IWUSR|S_IRUSR; local
308 return (isc_file_openuniquemode(templet, mode, fp));
312 isc_file_openuniquemode(char *templet, int mode, FILE **fp) { argument
338 while ((fd = open(templet, O_RDWR|O_CREAT|O_EXCL, mode)) == -1) {
371 int mode = S_IWUSR|S_IRUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; local
372 return (isc_file_openuniquemode(templet, mode, fp));
377 int mode = S_IWUSR|S_IRUSR; local
378 return (isc_file_openuniquemode(templet, mode, f
382 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp) argument
[all...]
H A Dstdio.c23 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
26 f = fopen(filename, mode);
/bind-9.11.3/lib/dns/
H A Dorder.c32 unsigned int mode; member in struct:dns_order_ent
76 unsigned int mode)
81 REQUIRE(mode == DNS_RDATASETATTR_RANDOMIZE ||
82 mode == DNS_RDATASETATTR_FIXEDORDER ||
83 mode == 0 /* DNS_RDATASETATTR_CYCLIC */ );
94 ent->mode = mode;
124 return (ent->mode);
74 dns_order_add(dns_order_t *order, dns_name_t *name, dns_rdatatype_t rdtype, dns_rdataclass_t rdclass, unsigned int mode) argument
H A Ddbiterator.c130 dns_dbiterator_setcleanmode(dns_dbiterator_t *iterator, isc_boolean_t mode) { argument
133 iterator->cleaning = mode;
H A Ddnstap.c89 dns_dtmode_t mode; member in struct:dns_dthandle
106 dns_dtmode_t mode; member in struct:dns_dtenv
173 dns_dt_create(isc_mem_t *mctx, dns_dtmode_t mode, const char *path, argument
216 if (mode == dns_dtmode_file) {
222 } else if (mode == dns_dtmode_unix) {
243 env->mode = mode;
302 if (env->mode == dns_dtmode_file) {
308 } else if (env->mode == dns_dtmode_unix) {
335 if (env->mode
843 dns_dt_open(const char *filename, dns_dtmode_t mode, isc_mem_t *mctx, dns_dthandle_t **handlep) argument
[all...]
/bind-9.11.3/unit/atf-src/admin/
H A Dinstall-sh69 # Desired mode of installed file.
70 mode=0755
129 -m) mode=$2
130 case $mode in
132 echo "$0: invalid mode: $mode" >&2
224 case $mode in
235 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
242 cp_umask=$mode$u_plus_rw;;
296 # Create intermediate dirs using mode 75
[all...]
H A Dcheck-style-shell.awk97 warn("Missing mode lines");
/bind-9.11.3/lib/dns/include/dns/
H A Dorder.h40 unsigned int mode);
47 *\li 'mode' to be one of #DNS_RDATASETATTR_RANDOMIZE,
65 * Returns the mode set by dns_order_add() or zero.
H A Ddnstap.h116 dns_dt_create(isc_mem_t *mctx, dns_dtmode_t mode, const char *path,
160 * If 'roll' is non-negative and 'env->mode' is dns_dtmode_file,
163 * keep. If 'roll' is negative, or if 'env->mode' is dns_dtmode_unix,
166 * Note: dns_dt_reopen() must be called in task exclusive mode.
310 dns_dt_open(const char *filename, dns_dtmode_t mode,
332 *\li #ISC_R_NOTIMPLEMENTED if 'mode' is not dns_dtmode_file. (XXX)
H A Ddbiterator.h277 dns_dbiterator_setcleanmode(dns_dbiterator_t *iterator, isc_boolean_t mode);
282 *\li When 'mode' is ISC_TRUE,
/bind-9.11.3/bin/named/unix/include/named/
H A Dos.h49 ns_os_openfile(const char *filename, mode_t mode, isc_boolean_t switch_user);
/bind-9.11.3/bin/named/win32/include/named/
H A Dos.h45 ns_os_openfile(const char *filename, int mode, isc_boolean_t switch_user);
/bind-9.11.3/unit/atf-src/tools/
H A Dfs.cpp84 eaccess(const tools::fs::path& p, int mode) argument
86 assert(mode & access_f || mode & access_r ||
87 mode & access_w || mode & access_x);
97 if (mode & access_f)
102 if (!ok && !(mode & access_x)) {
114 ok = ((mode & access_r) && (st.st_mode & S_IRUSR)) ||
115 ((mode & access_w) && (st.st_mode & S_IWUSR)) ||
116 ((mode
145 safe_access(const impl::path& p, int mode, int experr) argument
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dstdio.h34 isc_stdio_open(const char *filename, const char *mode, FILE **fp);
H A Dfile.h100 isc_file_openuniquemode(char *templet, int mode, FILE **fp);
106 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp);
109 * isc_file_bopen*() open the file in binary mode in Windows.
110 * isc_file_open*() open the file in text mode in Windows.
135 * *fp points to an stream opening in stdio's "w+" mode.
H A Dtask.h105 isc_taskmgrmode_t mode);
106 isc_taskmgrmode_t (*mode)(isc_taskmgr_t *manager); member in struct:isc_taskmgrmethods
473 * moves into a "shutting down" mode which prevents further calls
631 * but when the task manager has been set to privileged execution mode via
635 * return to normal execution mode and nonprivileged task can resume.
703 isc_taskmgr_setmode(isc_taskmgr_t *manager, isc_taskmgrmode_t mode);
708 * Set/get the current operating mode of the task manager. Valid modes are:
713 * In privileged execution mode, only tasks that have had the "privilege"
715 * tasks are complete, the manager automatically returns to normal mode
718 * queue *before* setting the manager into privileged execution mode,
[all...]
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dfs.c691 atf_fs_eaccess(const atf_fs_path_t *p, int mode) argument
697 PRE(mode & atf_fs_access_f || mode & atf_fs_access_r ||
698 mode & atf_fs_access_w || mode & atf_fs_access_x);
710 if (mode & atf_fs_access_f)
715 if (!ok && !(mode & atf_fs_access_x)) {
727 ok = ((mode & atf_fs_access_r) && (st.st_mode & S_IRUSR)) ||
728 ((mode & atf_fs_access_w) && (st.st_mode & S_IWUSR)) ||
729 ((mode
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dfile.c377 openuniquemode(char *templet, int mode, isc_boolean_t binary, FILE **fp) { argument
394 UNUSED(mode);
396 (void)fchmod(fd, mode);
412 int mode = _S_IREAD | _S_IWRITE; local
413 return (openuniquemode(templet, mode, ISC_FALSE, fp));
418 int mode = _S_IREAD | _S_IWRITE; local
419 return (openuniquemode(templet, mode, ISC_FALSE, fp));
423 isc_file_openuniquemode(char *templet, int mode, FILE **fp) { argument
424 return (openuniquemode(templet, mode, ISC_FALSE, fp));
429 int mode local
435 int mode = _S_IREAD | _S_IWRITE; local
440 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp) argument
[all...]
H A Dstdio.c25 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
28 f = fopen(filename, mode);
H A Dfsaccess.c104 int mode; local
110 mode = 0;
114 mode |= modebit; \
136 if (_chmod(path, mode) < 0)
/bind-9.11.3/bin/named/unix/
H A Dos.c645 safe_open(const char *filename, mode_t mode, isc_boolean_t append) { argument
658 fd = open(filename, O_WRONLY|O_CREAT|O_APPEND, mode);
662 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode);
704 unsigned int mode; local
728 mode = S_IRUSR | S_IWUSR | S_IXUSR; /* u=rwx */
729 mode |= S_IRGRP | S_IXGRP; /* g=rx */
730 mode |= S_IROTH | S_IXOTH; /* o=rx */
731 if (mkdir(filename, mode) == -1) {
797 ns_os_openfile(const char *filename, mode_t mode, isc_boolean_t switch_user) { argument
825 fd = safe_open(filename, mode, ISC_FALS
[all...]
/bind-9.11.3/bin/named/win32/
H A Dos.c180 safe_open(const char *filename, int mode, isc_boolean_t append) { argument
191 fd = open(filename, O_WRONLY|O_CREAT|O_APPEND, mode);
194 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode);
225 ns_os_openfile(const char *filename, int mode, isc_boolean_t switch_user) { argument
231 fd = safe_open(filename, mode, ISC_FALSE);
/bind-9.11.3/lib/isc/
H A Dtask.c143 isc_taskmgrmode_t mode; member in struct:isc__taskmgr
242 isc__taskmgr_setmode(isc_taskmgr_t *manager0, isc_taskmgrmode_t mode);
475 if (manager->mode == isc_taskmgrmode_normal || has_privilege)
942 * the manager is currently in normal or privileged execution mode.
950 if (manager->mode == isc_taskmgrmode_normal)
970 if (manager->mode == isc_taskmgrmode_normal)
1276 * If we are in privileged execution mode and there are no
1282 manager->mode = isc_taskmgrmode_normal;
1295 manager->mode = isc_taskmgrmode_normal;
1384 manager->mode
1604 isc__taskmgr_setmode(isc_taskmgr_t *manager0, isc_taskmgrmode_t mode) argument
1615 isc_taskmgrmode_t mode; local
2107 isc_taskmgr_setmode(isc_taskmgr_t *manager, isc_taskmgrmode_t mode) argument
[all...]

Completed in 48 milliseconds

123