Lines Matching defs:secdata
3905 * @secdata: secctx
3908 * Convert secid to security context. If @secdata is NULL the length of the
3909 * result will be returned in @seclen, but no @secdata will be returned. This
3911 * the next call which actually allocates and returns the @secdata.
3915 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen)
3925 rc = hp->hook.secid_to_secctx(secid, secdata, seclen);
3936 * @secdata: secctx
3944 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid)
3947 return call_int_hook(secctx_to_secid, 0, secdata, seclen, secid);
3953 * @secdata: secctx
3958 void security_release_secctx(char *secdata, u32 seclen)
3960 call_void_hook(release_secctx, secdata, seclen);