pdlink Command
Purpose
Links files in partitioned sub directories.
Syntax
pdlink dirname filename …
Description
The pdlink command allows you to make a file that exists under a partitioned subdirectory accessible to the processes running at different SLs. The file corresponds to the sensitivity label (SL) of the invoking process. The directory name that you specify using the dirname parameter must a partitioned directory, and the file name that you specify using the filename parameter must be a file name (not a path name) under that named directory. You can specify multiple file names.
The pdlink command
creates a hard link to the file specified, with the following qualifications:
- The link is only created in the partitioned subdirectories.
- Each partitioned subdirectory must exist at the time the pdlink command is running.
- The link is only created in partitioned subdirectories that have an SL that is higher than the minimum SL of the file specified by the filename parameter.
Security
Only authorized users can run the pdlink command.
Item | Description |
---|---|
aix.mls.pdir.link | Required to create links in partitioned sub directories with this command. |
Exit Status
The pdlink command returns the following exit values:
Item | Description |
---|---|
0 | Successful completion. |
>0 | An error occurred. |
Examples
- To create a link of the sample.c file, present in the partitioned
directory called partdir, enter:
pdlink partdir sample.c
Files
Item | Description |
---|---|
/usr/sbin/pdlink | Contains the pdlink command. |