NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
DULINK_ATTR Struct Reference

Detailed Description

Attribute of an DU-Link node.

DULINK_ATTR stores information about a node, including its type and all of the access permissions allowed by other DU Link elements.

Definition at line 225 of file dulink.h.

Collaboration diagram for DULINK_ATTR:

Data Fields

DULINK_NODE_TYPE type
 Type of this DU-Link node: file, directory, or element. More...
 
uint32_t numACL
 Number of valid ACL entries stored in ACL table. More...
 
DULINK_ACL_ENTRY acl [DULINK_MAX_ACL]
 Content of Access Control List. More...
 

Field Documentation

◆ acl

DULINK_ACL_ENTRY DULINK_ATTR::acl[DULINK_MAX_ACL]

Content of Access Control List.

It will have at least one entry.

The first entry must have sourcePath of length 2, with first character '/' followed by '*' which represents global ACL behavior

Entries are applied on top of each other, one element can be present in different ACL entry.

One element would allow to access if either of the entries covered it allow access AND none of the entries covered it deny access

Definition at line 244 of file dulink.h.

◆ numACL

uint32_t DULINK_ATTR::numACL

Number of valid ACL entries stored in ACL table.

This number should always be at least 1

Definition at line 231 of file dulink.h.

◆ type

DULINK_NODE_TYPE DULINK_ATTR::type

Type of this DU-Link node: file, directory, or element.

Definition at line 228 of file dulink.h.


The documentation for this struct was generated from the following file: