Displaying 1 result from an estimated 1 matches for "deflimit".
Did you mean:
delimit
2001 Feb 08
0
openssh2.3.0p1 and /etc/limits
...break;
+ case 'p':
+ case 'P':
+ retval |= set_prio(pp);
+ break;
+ }
+ return retval;
+}
+
+static int
+setup_user_limits(const char *uname)
+{
+ /* TODO: allow and use @group syntax --cristiang */
+ FILE *fil;
+ char buf[1024];
+ char name[1024];
+ char limits[1024];
+ char deflimits[1024];
+ char tempbuf[1024];
+
+ /* init things */
+ memzero(buf, sizeof(buf));
+ memzero(name, sizeof(name));
+ memzero(limits, sizeof(limits));
+ memzero(deflimits, sizeof(deflimits));
+ memzero(tempbuf, sizeof(tempbuf));
+
+ /* start the checks */
+ fil = fopen(LIMITS_FILE, "r");
+ if...