Searched defs:label (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/freebsd-head/lib/libc/posix1e/
H A Dmac_exec.c44 mac_execve(char *fname, char **argv, char **envv, struct mac *label) argument
47 return (__mac_execve(fname, argv, envv, label));
H A Dmac_set.c46 mac_set_fd(int fd, struct mac *label) argument
49 return (__mac_set_fd(fd, label));
53 mac_set_file(const char *path, struct mac *label) argument
56 return (__mac_set_file(path, label));
60 mac_set_link(const char *path, struct mac *label) argument
63 return (__mac_set_link(path, label));
67 mac_set_proc(struct mac *label) argument
70 return (__mac_set_proc(label));
H A Dmac_get.c48 mac_get_fd(int fd, struct mac *label) argument
51 return (__mac_get_fd(fd, label));
55 mac_get_file(const char *path, struct mac *label) argument
58 return (__mac_get_file(path, label));
62 mac_get_link(const char *path, struct mac *label) argument
65 return (__mac_get_link(path, label));
69 mac_get_peer(int fd, struct mac *label) argument
73 len = sizeof(*label);
74 return (getsockopt(fd, SOL_SOCKET, SO_PEERLABEL, label, &len));
78 mac_get_pid(pid_t pid, struct mac *label) argument
85 mac_get_proc(struct mac *label) argument
[all...]
/freebsd-head/usr.sbin/fstyp/
H A Dufs.c49 fstyp_ufs(FILE *fp, char *label, size_t labelsize) argument
55 strlcpy(label, fs->fs_volname, labelsize);
H A Dcd9660.c45 fstyp_cd9660(FILE *fp, char *label, size_t size) argument
57 bzero(label, size);
58 strlcpy(label, volume, MIN(size, VOLUME_LEN));
60 rtrim(label, size);
H A Dzfs.c46 fstyp_zfs(FILE *fp, char *label, size_t labelsize) argument
55 * Read in the first ZFS vdev label ("L0"), located at the beginning
58 * TODO: the checksum of label should be validated.
69 strlcpy(label, zpool_name, labelsize);
H A Dext2fs.c55 fstyp_ext2fs(FILE *fp, char *label, size_t size) argument
75 /* Terminate label */
81 strlcpy(label, s_volume_name, size);
H A Dmsdosfs.c45 fstyp_msdosfs(FILE *fp, char *label, size_t size) argument
81 /* A volume with no name should have "NO NAME " as label. */
86 strlcpy(label, pfat_bsbpb->BS_VolLab,
100 * If the volume label is not "NO NAME " we're done.
104 strlcpy(label, pfat32_bsbpb->BS_VolLab,
110 * If the volume label "NO NAME " is in the boot sector, the
111 * label of FAT32 volumes may be stored as a special entry in
144 * The name of the entry is the volume label if
149 strlcpy(label, pfat_entry->DIR_Name,
163 rtrim(label, siz
[all...]
/freebsd-head/usr.sbin/setpmac/
H A Dsetpmac.c55 fprintf(stderr, "setpmac [label] [command] [args ...]\n");
63 mac_t label; local
70 error = mac_from_text(&label, argv[1]);
76 error = mac_set_proc(label);
82 mac_free(label);
/freebsd-head/contrib/bearssl/src/rsa/
H A Drsa_i15_oaep_decrypt.c30 const void *label, size_t label_len,
39 r &= br_rsa_oaep_unpad(dig, label, label_len, data, len);
29 br_rsa_i15_oaep_decrypt(const br_hash_class *dig, const void *label, size_t label_len, const br_rsa_private_key *sk, void *data, size_t *len) argument
H A Drsa_i31_oaep_decrypt.c30 const void *label, size_t label_len,
39 r &= br_rsa_oaep_unpad(dig, label, label_len, data, len);
29 br_rsa_i31_oaep_decrypt(const br_hash_class *dig, const void *label, size_t label_len, const br_rsa_private_key *sk, void *data, size_t *len) argument
H A Drsa_i32_oaep_decrypt.c30 const void *label, size_t label_len,
39 r &= br_rsa_oaep_unpad(dig, label, label_len, data, len);
29 br_rsa_i32_oaep_decrypt(const br_hash_class *dig, const void *label, size_t label_len, const br_rsa_private_key *sk, void *data, size_t *len) argument
H A Drsa_i62_oaep_decrypt.c32 const void *label, size_t label_len,
41 r &= br_rsa_oaep_unpad(dig, label, label_len, data, len);
31 br_rsa_i62_oaep_decrypt(const br_hash_class *dig, const void *label, size_t label_len, const br_rsa_private_key *sk, void *data, size_t *len) argument
/freebsd-head/contrib/bearssl/src/ssl/
H A Dprf_md5sha1.c30 const void *secret, size_t secret_len, const char *label,
40 s1, slen, label, seed_num, seed);
42 s1 + secret_len - slen, slen, label, seed_num, seed);
29 br_tls10_prf(void *dst, size_t len, const void *secret, size_t secret_len, const char *label, size_t seed_num, const br_tls_prf_seed_chunk *seed) argument
H A Dprf_sha256.c30 const void *secret, size_t secret_len, const char *label,
35 secret, secret_len, label, seed_num, seed);
29 br_tls12_sha256_prf(void *dst, size_t len, const void *secret, size_t secret_len, const char *label, size_t seed_num, const br_tls_prf_seed_chunk *seed) argument
H A Dprf_sha384.c30 const void *secret, size_t secret_len, const char *label,
35 secret, secret_len, label, seed_num, seed);
29 br_tls12_sha384_prf(void *dst, size_t len, const void *secret, size_t secret_len, const char *label, size_t seed_num, const br_tls_prf_seed_chunk *seed) argument
/freebsd-head/sys/geom/label/
H A Dg_label_flashmap.c40 #include <geom/label/g_label.h>
45 g_label_flashmap_taste(struct g_consumer *cp, char *label, size_t size) argument
54 label[0] = '\0';
64 /* If it's handled by flashmap it should have a label, but be safe. */
68 strlcpy(label, gfp->labels[pp->index], size);
H A Dg_label_disk_ident.c39 #include <geom/label/g_label.h>
49 g_label_disk_ident_taste(struct g_consumer *cp, char *label, size_t size) argument
56 label[0] = '\0';
61 * Get the GEOM::ident string, and construct a label in the format
76 * We can safely ignore the result of snprintf(): the label
79 (void)snprintf(label, size, "%s-%s", cls->name, ident);
/freebsd-head/sys/security/mac/
H A Dmac_sysv_sem.c64 static struct label *
67 struct label *label; local
69 label = mac_labelzone_alloc(M_WAITOK);
70 MAC_POLICY_PERFORM(sysvsem_init_label, label);
71 return (label);
79 semakptr->label = mac_sysv_sem_label_alloc();
81 semakptr->label = NULL;
85 mac_sysv_sem_label_free(struct label *label) argument
[all...]
H A Dmac_sysv_shm.c64 static struct label *
67 struct label *label; local
69 label = mac_labelzone_alloc(M_WAITOK);
70 MAC_POLICY_PERFORM(sysvshm_init_label, label);
71 return (label);
79 shmsegptr->label = mac_sysv_shm_label_alloc();
81 shmsegptr->label = NULL;
85 mac_sysv_shm_label_free(struct label *label) argument
[all...]
/freebsd-head/lib/libbsdstat/
H A Dbsdstat.h48 const char* label; /* printed header label */ member in struct:fmt
/freebsd-head/sbin/ifconfig/
H A Difmac.c58 mac_t label; local
64 if (mac_prepare_ifnet_label(&label) == -1)
66 ifr.ifr_ifru.ifru_data = (void *)label;
71 if (mac_to_text(label, &label_text) == -1)
79 mac_free(label);
86 mac_t label; local
89 if (mac_from_text(&label, val) == -1) {
96 ifr.ifr_ifru.ifru_data = (void *)label;
99 mac_free(label);
/freebsd-head/usr.sbin/getfmac/
H A Dgetfmac.c64 mac_t label; local
88 error = mac_prepare(&label, labellist);
90 error = mac_prepare_file_label(&label);
98 error = mac_get_link(argv[i], label);
100 error = mac_get_file(argv[i], label);
103 mac_free(label);
107 error = mac_to_text(label, &string);
114 mac_free(label);
/freebsd-head/usr.sbin/getpmac/
H A Dgetpmac.c63 mac_t label; local
96 error = mac_prepare(&label, labellist);
98 error = mac_prepare_process_label(&label);
105 error = mac_get_pid(pid, label);
109 error = mac_get_proc(label);
114 mac_free(label);
117 error = mac_to_text(label, &string);
126 mac_free(label);
/freebsd-head/lib/libdpv/
H A Dutil.c57 * If cmd contains a single "%s" sequence, replace it with label if non-NULL.
60 shell_spawn_pipecmd(const char *cmd, const char *label, pid_t *pid) argument
71 if (label != NULL && fmtcheck(cmd, "%s") == cmd)
72 len = snprintf(cmdbuf, CMDBUFMAX, cmd, label);

Completed in 97 milliseconds

1234567891011>>