| 1271 | } |
| 1272 | |
| 1273 | rlim_t |
| 1274 | lim_max_proc(struct proc *p, int which) |
| 1275 | { |
| 1276 | struct rlimit rl; |
| 1277 | |
| 1278 | lim_rlimit_proc(p, which, &rl); |
| 1279 | return (rl.rlim_max); |
| 1280 | } |
| 1281 | |
| 1282 | /* |
| 1283 | * Return the current (soft) limit for a particular system resource. |
nothing calls this directly
no test coverage detected