MCPcopy Create free account
hub / github.com/F-Stack/f-stack / chgproccnt

Function chgproccnt

freebsd/kern/kern_resource.c:1512–1517  ·  view source on GitHub ↗

* Change the count associated with number of processes * a given user is using. When 'max' is 0, don't enforce a limit */

Source from the content-addressed store, hash-verified

1510 * a given user is using. When 'max' is 0, don't enforce a limit
1511 */
1512int
1513chgproccnt(struct uidinfo *uip, int diff, rlim_t max)
1514{
1515
1516 return (chglimit(uip, &uip->ui_proccnt, diff, max, "proccnt"));
1517}
1518
1519/*
1520 * Change the total socket buffer size a user has used.

Callers 4

fork1Function · 0.70
change_ruidFunction · 0.70
proc0_initFunction · 0.70
proc_reapFunction · 0.70

Calls 1

chglimitFunction · 0.70

Tested by

no test coverage detected