• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/security/

Lines Matching refs:fg

64 mac_file_label_init(struct fileglob *fg)
67 fg->fg_label = mac_file_label_alloc();
79 mac_file_label_associate(struct ucred *cred, struct fileglob *fg)
82 MAC_PERFORM(file_label_associate, cred, fg, fg->fg_label);
86 mac_file_label_destroy(struct fileglob *fg)
89 mac_file_label_free(fg->fg_label);
90 fg->fg_label = NULL;
103 mac_file_check_dup(struct ucred *cred, struct fileglob *fg, int newfd)
107 MAC_CHECK(file_check_dup, cred, fg, fg->fg_label, newfd);
112 mac_file_check_fcntl(struct ucred *cred, struct fileglob *fg, int cmd,
117 MAC_CHECK(file_check_fcntl, cred, fg, fg->fg_label, cmd, arg);
122 mac_file_check_ioctl(struct ucred *cred, struct fileglob *fg, u_int cmd)
126 MAC_CHECK(file_check_ioctl, cred, fg, fg->fg_label, cmd);
131 mac_file_check_inherit(struct ucred *cred, struct fileglob *fg)
135 MAC_CHECK(file_check_inherit, cred, fg, fg->fg_label);
140 mac_file_check_receive(struct ucred *cred, struct fileglob *fg)
144 MAC_CHECK(file_check_receive, cred, fg, fg->fg_label);
149 mac_file_check_get_offset(struct ucred *cred, struct fileglob *fg)
153 MAC_CHECK(file_check_get_offset, cred, fg, fg->fg_label);
158 mac_file_check_change_offset(struct ucred *cred, struct fileglob *fg)
162 MAC_CHECK(file_check_change_offset, cred, fg, fg->fg_label);
167 mac_file_check_get(struct ucred *cred, struct fileglob *fg, char *elements,
172 MAC_CHECK(file_check_get, cred, fg, elements, len);
177 mac_file_check_set(struct ucred *cred, struct fileglob *fg, char *buf,
182 MAC_CHECK(file_check_set, cred, fg, buf, buflen);
187 mac_file_check_lock(struct ucred *cred, struct fileglob *fg, int op,
192 MAC_CHECK(file_check_lock, cred, fg, fg->fg_label, op, fl);
206 mac_file_check_mmap(struct ucred *cred, struct fileglob *fg, int prot,
213 MAC_CHECK(file_check_mmap, cred, fg, fg->fg_label, prot, flags, &maxp);
221 mac_file_check_mmap_downgrade(struct ucred *cred, struct fileglob *fg,
226 MAC_PERFORM(file_check_mmap_downgrade, cred, fg, fg->fg_label,