函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:security\tomoyo\network.c Create Date:2022-07-27 21:14:02
首页 Copyright©Brick

396
397
398
399
400
401
402
403
404
405
406
407
408
/**
 * tomoyo_audit_unix_log - Audit UNIX network log.
 *
 * @r: Pointer to "struct tomoyo_request_info".
 *
 * Returns 0 on success, negative value otherwise.
 */
static int tomoyo_audit_unix_log(struct tomoyo_request_info *r)
{
    return tomoyo_audit_net_log(r, "unix", r->param.unix_network.protocol,
                    r->param.unix_network.operation,
                    r->param.unix_network.address->name);
}