Beispiel #1
0
static int
mac_socketpeer_label_externalize(struct label *label, char *elements,
    char *outbuf, size_t outbuflen)
{
	int error;

	error = MAC_EXTERNALIZE(socketpeer, label, elements, outbuf, outbuflen);

	return (error);
}
Beispiel #2
0
int
mac_cred_label_externalize(struct label *label, char *elements,
                           char *outbuf, size_t outbuflen, int flags __unused)
{
    int error = 0;

    error = MAC_EXTERNALIZE(cred, label, elements, outbuf, outbuflen);

    return (error);
}
Beispiel #3
0
int
mac_lctx_label_externalize(struct label *label, char *elements,
                           char *outbuf, size_t outbuflen)
{
    int error;

    error = MAC_EXTERNALIZE(lctx, label, elements, outbuf, outbuflen);

    return (error);
}
Beispiel #4
0
int
mac_pipe_externalize_label(struct label *label, char *elements,
                           char *outbuf, size_t outbuflen)
{
    int error;

    MAC_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);

    return (error);
}