1
1
/*
2
- * Copyright (c) 2021, 2024 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2021, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* The Universal Permissive License (UPL), Version 1.0
@@ -332,6 +332,39 @@ public final class PosixConstants {
332
332
public static final OptionalIntConstant IPV6_RECVPATHMTU ;
333
333
public static final OptionalIntConstant IPV6_TCLASS ;
334
334
public static final OptionalIntConstant IPV6_USE_MIN_MTU ;
335
+ public static final MandatoryIntConstant _SC_ARG_MAX ;
336
+ public static final MandatoryIntConstant _SC_CHILD_MAX ;
337
+ public static final OptionalIntConstant _SC_HOST_NAME_MAX ;
338
+ public static final MandatoryIntConstant _SC_LOGIN_NAME_MAX ;
339
+ public static final OptionalIntConstant _SC_NGROUPS_MAX ;
340
+ public static final MandatoryIntConstant _SC_CLK_TCK ;
341
+ public static final MandatoryIntConstant _SC_OPEN_MAX ;
342
+ public static final MandatoryIntConstant _SC_PAGESIZE ;
343
+ public static final MandatoryIntConstant _SC_PAGE_SIZE ;
344
+ public static final OptionalIntConstant _SC_RE_DUP_MAX ;
345
+ public static final OptionalIntConstant _SC_STREAM_MAX ;
346
+ public static final OptionalIntConstant _SC_SYMLOOP_MAX ;
347
+ public static final OptionalIntConstant _SC_TTY_NAME_MAX ;
348
+ public static final OptionalIntConstant _SC_TZNAME_MAX ;
349
+ public static final OptionalIntConstant _SC_VERSION ;
350
+ public static final OptionalIntConstant _SC_BC_BASE_MAX ;
351
+ public static final OptionalIntConstant _SC_BC_DIM_MAX ;
352
+ public static final OptionalIntConstant _SC_BC_SCALE_MAX ;
353
+ public static final OptionalIntConstant _SC_BC_STRING_MAX ;
354
+ public static final OptionalIntConstant _SC_COLL_WEIGHTS_MAX ;
355
+ public static final OptionalIntConstant _SC_EXPR_NEST_MAX ;
356
+ public static final OptionalIntConstant _SC_LINE_MAX ;
357
+ public static final OptionalIntConstant _SC_2_VERSION ;
358
+ public static final OptionalIntConstant _SC_2_C_DEV ;
359
+ public static final OptionalIntConstant _SC_2_FORT_DEV ;
360
+ public static final OptionalIntConstant _SC_2_FORT_RUN ;
361
+ public static final OptionalIntConstant _SC_2_LOCALEDEF ;
362
+ public static final OptionalIntConstant _SC_2_SW_DEV ;
363
+ public static final MandatoryIntConstant _SC_SEM_NSEMS_MAX ;
364
+ public static final MandatoryIntConstant _SC_PHYS_PAGES ;
365
+ public static final OptionalIntConstant _SC_AVPHYS_PAGES ;
366
+ public static final MandatoryIntConstant _SC_NPROCESSORS_CONF ;
367
+ public static final MandatoryIntConstant _SC_NPROCESSORS_ONLN ;
335
368
336
369
public static final IntConstant [] openFlags ;
337
370
public static final IntConstant [] fileType ;
@@ -355,6 +388,7 @@ public final class PosixConstants {
355
388
public static final IntConstant [] socketOptions ;
356
389
public static final IntConstant [] tcpOptions ;
357
390
public static final IntConstant [] ipv6Options ;
391
+ public static final IntConstant [] sysconfigNames ;
358
392
359
393
static {
360
394
Registry reg = Registry .create ();
@@ -614,6 +648,39 @@ public final class PosixConstants {
614
648
IPV6_RECVPATHMTU = reg .createOptionalInt ("IPV6_RECVPATHMTU" );
615
649
IPV6_TCLASS = reg .createOptionalInt ("IPV6_TCLASS" );
616
650
IPV6_USE_MIN_MTU = reg .createOptionalInt ("IPV6_USE_MIN_MTU" );
651
+ _SC_ARG_MAX = reg .createMandatoryInt ("_SC_ARG_MAX" );
652
+ _SC_CHILD_MAX = reg .createMandatoryInt ("_SC_CHILD_MAX" );
653
+ _SC_HOST_NAME_MAX = reg .createOptionalInt ("_SC_HOST_NAME_MAX" );
654
+ _SC_LOGIN_NAME_MAX = reg .createMandatoryInt ("_SC_LOGIN_NAME_MAX" );
655
+ _SC_NGROUPS_MAX = reg .createOptionalInt ("_SC_NGROUPS_MAX" );
656
+ _SC_CLK_TCK = reg .createMandatoryInt ("_SC_CLK_TCK" );
657
+ _SC_OPEN_MAX = reg .createMandatoryInt ("_SC_OPEN_MAX" );
658
+ _SC_PAGESIZE = reg .createMandatoryInt ("_SC_PAGESIZE" );
659
+ _SC_PAGE_SIZE = reg .createMandatoryInt ("_SC_PAGE_SIZE" );
660
+ _SC_RE_DUP_MAX = reg .createOptionalInt ("_SC_RE_DUP_MAX" );
661
+ _SC_STREAM_MAX = reg .createOptionalInt ("_SC_STREAM_MAX" );
662
+ _SC_SYMLOOP_MAX = reg .createOptionalInt ("_SC_SYMLOOP_MAX" );
663
+ _SC_TTY_NAME_MAX = reg .createOptionalInt ("_SC_TTY_NAME_MAX" );
664
+ _SC_TZNAME_MAX = reg .createOptionalInt ("_SC_TZNAME_MAX" );
665
+ _SC_VERSION = reg .createOptionalInt ("_SC_VERSION" );
666
+ _SC_BC_BASE_MAX = reg .createOptionalInt ("_SC_BC_BASE_MAX" );
667
+ _SC_BC_DIM_MAX = reg .createOptionalInt ("_SC_BC_DIM_MAX" );
668
+ _SC_BC_SCALE_MAX = reg .createOptionalInt ("_SC_BC_SCALE_MAX" );
669
+ _SC_BC_STRING_MAX = reg .createOptionalInt ("_SC_BC_STRING_MAX" );
670
+ _SC_COLL_WEIGHTS_MAX = reg .createOptionalInt ("_SC_COLL_WEIGHTS_MAX" );
671
+ _SC_EXPR_NEST_MAX = reg .createOptionalInt ("_SC_EXPR_NEST_MAX" );
672
+ _SC_LINE_MAX = reg .createOptionalInt ("_SC_LINE_MAX" );
673
+ _SC_2_VERSION = reg .createOptionalInt ("_SC_2_VERSION" );
674
+ _SC_2_C_DEV = reg .createOptionalInt ("_SC_2_C_DEV" );
675
+ _SC_2_FORT_DEV = reg .createOptionalInt ("_SC_2_FORT_DEV" );
676
+ _SC_2_FORT_RUN = reg .createOptionalInt ("_SC_2_FORT_RUN" );
677
+ _SC_2_LOCALEDEF = reg .createOptionalInt ("_SC_2_LOCALEDEF" );
678
+ _SC_2_SW_DEV = reg .createOptionalInt ("_SC_2_SW_DEV" );
679
+ _SC_SEM_NSEMS_MAX = reg .createMandatoryInt ("_SC_SEM_NSEMS_MAX" );
680
+ _SC_PHYS_PAGES = reg .createMandatoryInt ("_SC_PHYS_PAGES" );
681
+ _SC_AVPHYS_PAGES = reg .createOptionalInt ("_SC_AVPHYS_PAGES" );
682
+ _SC_NPROCESSORS_CONF = reg .createMandatoryInt ("_SC_NPROCESSORS_CONF" );
683
+ _SC_NPROCESSORS_ONLN = reg .createMandatoryInt ("_SC_NPROCESSORS_ONLN" );
617
684
618
685
openFlags = new IntConstant []{O_ACCMODE , O_RDONLY , O_WRONLY , O_RDWR , O_CREAT , O_EXCL , O_TRUNC , O_APPEND , O_NONBLOCK , O_NOCTTY , O_NDELAY , O_DSYNC , O_CLOEXEC , O_SYNC , O_DIRECT , O_RSYNC ,
619
686
O_TMPFILE , O_TEMPORARY , O_DIRECTORY , O_BINARY , O_TEXT , O_XATTR , O_LARGEFILE , O_SHLOCK , O_EXLOCK , O_EXEC , O_SEARCH , O_PATH , O_TTY_INIT };
@@ -646,6 +713,10 @@ public final class PosixConstants {
646
713
ipv6Options = new IntConstant []{IPV6_JOIN_GROUP , IPV6_LEAVE_GROUP , IPV6_MULTICAST_HOPS , IPV6_MULTICAST_IF , IPV6_MULTICAST_LOOP , IPV6_UNICAST_HOPS , IPV6_V6ONLY , IPV6_CHECKSUM , IPV6_DONTFRAG ,
647
714
IPV6_DSTOPTS , IPV6_HOPLIMIT , IPV6_HOPOPTS , IPV6_NEXTHOP , IPV6_PATHMTU , IPV6_PKTINFO , IPV6_RECVDSTOPTS , IPV6_RECVHOPLIMIT , IPV6_RECVHOPOPTS , IPV6_RECVPKTINFO , IPV6_RECVRTHDR ,
648
715
IPV6_RECVTCLASS , IPV6_RTHDR , IPV6_RTHDRDSTOPTS , IPV6_RTHDR_TYPE_0 , IPV6_RECVPATHMTU , IPV6_TCLASS , IPV6_USE_MIN_MTU };
716
+ sysconfigNames = new IntConstant []{_SC_ARG_MAX , _SC_CHILD_MAX , _SC_HOST_NAME_MAX , _SC_LOGIN_NAME_MAX , _SC_NGROUPS_MAX , _SC_CLK_TCK , _SC_OPEN_MAX , _SC_PAGESIZE , _SC_PAGE_SIZE , _SC_RE_DUP_MAX ,
717
+ _SC_STREAM_MAX , _SC_SYMLOOP_MAX , _SC_TTY_NAME_MAX , _SC_TZNAME_MAX , _SC_VERSION , _SC_BC_BASE_MAX , _SC_BC_DIM_MAX , _SC_BC_SCALE_MAX , _SC_BC_STRING_MAX , _SC_COLL_WEIGHTS_MAX ,
718
+ _SC_EXPR_NEST_MAX , _SC_LINE_MAX , _SC_2_VERSION , _SC_2_C_DEV , _SC_2_FORT_DEV , _SC_2_FORT_RUN , _SC_2_LOCALEDEF , _SC_2_SW_DEV , _SC_SEM_NSEMS_MAX , _SC_PHYS_PAGES , _SC_AVPHYS_PAGES ,
719
+ _SC_NPROCESSORS_CONF , _SC_NPROCESSORS_ONLN };
649
720
}
650
721
// end generated by gen_native_cfg.py
651
722
// @formatter:on
0 commit comments