kinit: increase environment limit

Limit is already increased for standard xorg plasma distribution to
start, but with wayland, even more libraries being added

Increasing this limit to 1 << 20 (1M) seems to be enough (For me
length is 80K), and not so much for regular desktops

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>

+1 -1
+1 -1
pkgs/development/libraries/kde-frameworks/kinit/0004-start_kdeinit-environ-hard-limit.patch
··· 17 if (read(0, &len, sizeof(unsigned)) == sizeof(unsigned) 18 - && len && len < (1 << 12)) { 19 + && len) { 20 - + if (len >= (1 << 14)) { 21 + fprintf(stderr, "%s: exceeded environment length limit", argv[0]); 22 + return 1; 23 + }
··· 17 if (read(0, &len, sizeof(unsigned)) == sizeof(unsigned) 18 - && len && len < (1 << 12)) { 19 + && len) { 20 + + if (len >= (1 << 20)) { 21 + fprintf(stderr, "%s: exceeded environment length limit", argv[0]); 22 + return 1; 23 + }