| 940 | } |
| 941 | |
| 942 | static void |
| 943 | mls_devfs_create_symlink(struct ucred *cred, struct mount *mp, |
| 944 | struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de, |
| 945 | struct label *delabel) |
| 946 | { |
| 947 | struct mac_mls *source, *dest; |
| 948 | |
| 949 | source = SLOT(cred->cr_label); |
| 950 | dest = SLOT(delabel); |
| 951 | |
| 952 | mls_copy_effective(source, dest); |
| 953 | } |
| 954 | |
| 955 | static void |
| 956 | mls_devfs_update(struct mount *mp, struct devfs_dirent *de, |
nothing calls this directly
no test coverage detected