POSIX (POS)
This appendix contains guidelines for functions that are defined as part of the POSIX family of standards but are not included in the C Standard. These rules and recommendations are not part of the core standard because they do not apply in all C language applications and because they represent an incomplete set. The intent of providing these guidelines is to demonstrate how rules and recommendations for other standards or specific implementations may be integrated with the core C recommendations.
- POS01-C. Check for the existence of links when dealing with files
- POS02-C. Follow the principle of least privilege
- POS04-C. Avoid using PTHREAD_MUTEX_NORMAL type mutex locks
- POS05-C. Limit access to files by creating a jail
Information for Editors
In order to have a new guideline automatically listed above be sure to label it pos and recommendation .
Risk Assessment Summary
| Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
| POS01-C | Medium | Likely | No | No | P6 | L2 |
| POS02-C | High | Likely | No | No | P9 | L2 |
| POS04-C | Low | Unlikely | Yes | Yes | P3 | L3 |
| POS05-C | Medium | Probable | No | No | P4 | L3 |


