Updates and modifies the project attributes in kernel project registry for the given project.
The libaacct.a library.
If PROJ_ENABLE_AGGR is passed, then the aggregation status bit is set to 1. If PROJ_DISABLE_AGGR is passed, then the aggregation status bit set to 0.
| Item | Description | 
|---|---|
| project | Pointer containing the project definition. | 
| cmd | An integer command indicating whether to perform a set or clear operation. | 
Only for privileged users. Privilege can be extended to nonroot users by granting the CAP_AACCT capability to a user.
| Item | Description | 
|---|---|
| 0 | Success | 
| -1 | Failure | 
| Item | Description | 
|---|---|
| EINVAL | Invalid arguments passed. The passed command flag is invalid or the passed pointer is NULL. | 
| ENONENT | Project not found. |