|
| this command often precedes logic that modifies the | |
|
| process table. Because modifications to the process | |
|
| table are usually not safe, the presence of ps in a control | |
|
| script is a good indicator that the script needs closer | |
|
| examination to determine if the surrounding logic is safe. | |
pwd | Yes |
| |
rm | Yes |
| |
rmdir | Yes |
| |
sed | Yes |
| |
swlist, swmodify & | Yes |
| |
swverify |
|
|
|
swremove | Varies | It is safe to swremove software that has is_drd_safe | |
|
| attribute set. It is safe to execute swremove in the | |
|
| update_prep script. It is safe to execute swremove – | |
|
| x run_scripts=false. | |
tail | Yes |
| |
umount | Yes | Although unmount is | |
|
| SD control scripts. | |
uname | Varies | Whether or not the use of uname is | |
|
| on which options are sued with the command. As such | |
|
| the control script needs to be examined to determine if it | |
|
| is using uname in a safe manner. | |
|
| Use of the following options is | |
|
| • | Machine identification/node name |
|
| • License level | |
|
| • Machine hardware and model names | |
|
| • Node name | |
|
| • Name of operating system | |
|
| Use of the following fields is NOT | |
|
| • Release level | |
|
| • Version level | |
|
| • Changing of node name | |
|
| • | All |
wc | Yes |
| |
what | Yes |
|
© 2008