X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=python%2Fvserverimpl.c;h=0bbd2c1bfd9112afd98ea9cbac602fa7f7bac9c3;hb=5a7d89b238734a86c5da88766305c5483098d599;hp=4afba2a70fd14fea4bead4545e0e887d5661eb0e;hpb=7babdb393e48b8baea4231c49296e7b03dfb975c;p=util-vserver.git diff --git a/python/vserverimpl.c b/python/vserverimpl.c index 4afba2a..0bbd2c1 100644 --- a/python/vserverimpl.c +++ b/python/vserverimpl.c @@ -340,17 +340,6 @@ initvserverimpl(void) PyModule_AddIntConstant(mod, "DLIMIT_INF", (int)CDLIM_INFINITY); PyModule_AddIntConstant(mod, "VC_LIM_KEEP", (int)VC_LIM_KEEP); - PyModule_AddIntConstant(mod, "RLIMIT_CPU", (int)RLIMIT_CPU); - PyModule_AddIntConstant(mod, "RLIMIT_RSS", (int)RLIMIT_RSS); - PyModule_AddIntConstant(mod, "RLIMIT_NPROC", (int)RLIMIT_NPROC); - PyModule_AddIntConstant(mod, "RLIMIT_NOFILE", (int)RLIMIT_NOFILE); - PyModule_AddIntConstant(mod, "RLIMIT_MEMLOCK", (int)RLIMIT_MEMLOCK); - PyModule_AddIntConstant(mod, "RLIMIT_AS", (int)RLIMIT_AS); - PyModule_AddIntConstant(mod, "RLIMIT_LOCKS", (int)RLIMIT_LOCKS); - - PyModule_AddIntConstant(mod, "RLIMIT_SIGPENDING", (int)RLIMIT_SIGPENDING); - PyModule_AddIntConstant(mod, "RLIMIT_MSGQUEUE", (int)RLIMIT_MSGQUEUE); - PyModule_AddIntConstant(mod, "VLIMIT_NSOCK", (int)VLIMIT_NSOCK); PyModule_AddIntConstant(mod, "VLIMIT_OPENFD", (int)VLIMIT_OPENFD); PyModule_AddIntConstant(mod, "VLIMIT_ANON", (int)VLIMIT_ANON);