You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

These are rules and recommendations for functions that are defined as part of the POSIX family of standards but are not included in ISO/IEC 9899-1999.

Recommendations

POS00-A. Avoid race conditions with multiple threads

Rules

POS30-C. Use the readlink() function properly

POS31-C. Do not unlock or destroy another process's mutex

POS32-C. Include a mutex when using bit fields in a multi-threaded environment

POS33-C. Do not use vfork()

POS34-C. Do not call putenv() with an automatic variable as the argument

Risk Assessment

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

POS00-A

2 (medium)

1 (unlikely)

1 (high)

P2

L3

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

POS30-C

1 (low)

2 (probable)

2 (medium)

P4

L3

POS31-C

2 (medium)

1 (unlikely)

1 (high)

P2

L3

POS32-C

2 (medium)

2 (probable)

2 (medium)

P8

L2

POS33-C.

1 (low)

2 (probable)

2 (medium)

P4

L3

.

POS34-C

3 (high)

1 (unlikely)

1 (high)

P3

L3

  • No labels