File tree Expand file tree Collapse file tree
Sources/Services/ContainerAPIService/Client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -870,17 +870,21 @@ public struct Parser {
870870 return !label. ranges ( of: pattern) . isEmpty
871871 }
872872
873- // TODO: When containerization supports all 16 (minus AS as it's not great) add
874- // them here.
875873 private static let ulimitNameToRlimit : [ String : String ] = [
876874 " core " : " RLIMIT_CORE " ,
877875 " cpu " : " RLIMIT_CPU " ,
878876 " data " : " RLIMIT_DATA " ,
879877 " fsize " : " RLIMIT_FSIZE " ,
878+ " locks " : " RLIMIT_LOCKS " ,
880879 " memlock " : " RLIMIT_MEMLOCK " ,
880+ " msgqueue " : " RLIMIT_MSGQUEUE " ,
881+ " nice " : " RLIMIT_NICE " ,
881882 " nofile " : " RLIMIT_NOFILE " ,
882883 " nproc " : " RLIMIT_NPROC " ,
883884 " rss " : " RLIMIT_RSS " ,
885+ " rtprio " : " RLIMIT_RTPRIO " ,
886+ " rttime " : " RLIMIT_RTTIME " ,
887+ " sigpending " : " RLIMIT_SIGPENDING " ,
884888 " stack " : " RLIMIT_STACK " ,
885889 ]
886890
You can’t perform that action at this time.
0 commit comments