add new properties, socket finder

This commit is contained in:
2025-02-18 00:30:12 -08:00
parent 21fce7918e
commit 451a949ace
3 changed files with 435 additions and 242 deletions

View File

@@ -1,6 +1,7 @@
package properties
var Properties = []Property{
Accept,
ActiveEnterTimestamp,
ActiveEnterTimestampMonotonic,
ActiveExitTimestampMonotonic,
@@ -10,9 +11,13 @@ var Properties = []Property{
AssertResult,
AssertTimestamp,
AssertTimestampMonotonic,
Backlog,
Before,
BindIPv6Only,
BindLogSockets,
BlockIOAccounting,
BlockIOWeight,
Broadcast,
CPUAccounting,
CPUAffinityFromNUMA,
CPUQuotaPerSecUSec,
@@ -26,6 +31,7 @@ var Properties = []Property{
CacheDirectoryMode,
CanFreeze,
CanIsolate,
CanLiveMount,
CanReload,
CanStart,
CanStop,
@@ -38,17 +44,26 @@ var Properties = []Property{
ConfigurationDirectoryMode,
Conflicts,
ControlGroup,
ControlGroupId,
ControlPID,
CoredumpFilter,
CoredumpReceive,
DebugInvocation,
DefaultDependencies,
DefaultMemoryLow,
DefaultMemoryMin,
DefaultStartupMemoryLow,
DeferAcceptUSec,
Delegate,
Description,
DevicePolicy,
DirectoryMode,
DynamicUser,
EffectiveCPUs,
EffectiveMemoryHigh,
EffectiveMemoryMax,
EffectiveMemoryNodes,
EffectiveTasksMax,
ExecMainCode,
ExecMainExitTimestampMonotonic,
ExecMainPID,
@@ -59,10 +74,14 @@ var Properties = []Property{
ExecReloadEx,
ExecStart,
ExecStartEx,
ExtensionImagePolicy,
FailureAction,
FileDescriptorName,
FileDescriptorStoreMax,
FinalKillSignal,
FlushPending,
FragmentPath,
FreeBind,
FreezerState,
GID,
GuessMainPID,
@@ -79,6 +98,8 @@ var Properties = []Property{
IPEgressPackets,
IPIngressBytes,
IPIngressPackets,
IPTOS,
IPTTL,
Id,
IgnoreOnIsolate,
IgnoreSIGPIPE,
@@ -89,6 +110,10 @@ var Properties = []Property{
JobRunningTimeoutUSec,
JobTimeoutAction,
JobTimeoutUSec,
KeepAlive,
KeepAliveIntervalUSec,
KeepAliveProbes,
KeepAliveTimeUSec,
KeyringMode,
KillMode,
KillSignal,
@@ -124,6 +149,7 @@ var Properties = []Property{
LimitSIGPENDINGSoft,
LimitSTACK,
LimitSTACKSoft,
Listen,
LoadState,
LockPersonality,
LogLevelMax,
@@ -132,42 +158,76 @@ var Properties = []Property{
LogsDirectoryMode,
MainPID,
ManagedOOMMemoryPressure,
ManagedOOMMemoryPressureDurationUSec,
ManagedOOMMemoryPressureLimit,
ManagedOOMPreference,
ManagedOOMSwap,
Mark,
MaxConnections,
MaxConnectionsPerSource,
MemoryAccounting,
MemoryAvailable,
MemoryCurrent,
MemoryDenyWriteExecute,
MemoryHigh,
MemoryKSM,
MemoryLimit,
MemoryLow,
MemoryMax,
MemoryMin,
MemoryPeak,
MemoryPressureThresholdUSec,
MemoryPressureWatch,
MemorySwapCurrent,
MemorySwapMax,
MemorySwapPeak,
MemoryZSwapCurrent,
MemoryZSwapMax,
MemoryZSwapWriteback,
MessageQueueMaxMessages,
MessageQueueMessageSize,
MountAPIVFS,
MountImagePolicy,
NAccepted,
NConnections,
NFileDescriptorStore,
NRefused,
NRestarts,
NUMAPolicy,
Names,
NeedDaemonReload,
Nice,
NoDelay,
NoNewPrivileges,
NonBlocking,
NotifyAccess,
OOMPolicy,
OOMScoreAdjust,
OnFailureJobMode,
OnSuccessJobMode,
PIDFile,
PassCredentials,
PassFileDescriptorsToExec,
PassPacketInfo,
PassSecurity,
Perpetual,
PipeSize,
PollLimitBurst,
PollLimitIntervalUSec,
Priority,
PrivateDevices,
PrivateIPC,
PrivateMounts,
PrivateNetwork,
PrivatePIDs,
PrivateTmp,
PrivateTmpEx,
PrivateUsers,
PrivateUsersEx,
ProcSubset,
ProtectClock,
ProtectControlGroups,
ProtectControlGroupsEx,
ProtectHome,
ProtectHostname,
ProtectKernelLogs,
@@ -175,12 +235,16 @@ var Properties = []Property{
ProtectKernelTunables,
ProtectProc,
ProtectSystem,
ReceiveBuffer,
RefuseManualStart,
RefuseManualStop,
ReloadResult,
RemainAfterExit,
RemoveIPC,
RemoveOnStop,
RequiredBy,
Requires,
RequiresMountsFor,
Restart,
RestartKillSignal,
RestartUSec,
@@ -188,15 +252,22 @@ var Properties = []Property{
RestrictRealtime,
RestrictSUIDSGID,
Result,
ReusePort,
RootDirectoryStartOnly,
RootEphemeral,
RootImagePolicy,
RuntimeDirectoryMode,
RuntimeDirectoryPreserve,
RuntimeMaxUSec,
SameProcessGroup,
SecureBits,
SendBuffer,
SendSIGHUP,
SendSIGKILL,
SetLoginEnvironment,
Slice,
SocketMode,
SocketProtocol,
StandardError,
StandardInput,
StandardOutput,
@@ -207,6 +278,11 @@ var Properties = []Property{
StartupCPUShares,
StartupCPUWeight,
StartupIOWeight,
StartupMemoryHigh,
StartupMemoryLow,
StartupMemoryMax,
StartupMemorySwapMax,
StartupMemoryZSwapMax,
StateChangeTimestamp,
StateChangeTimestampMonotonic,
StateDirectoryMode,
@@ -214,6 +290,7 @@ var Properties = []Property{
StopWhenUnneeded,
SubState,
SuccessAction,
SurviveFinalKillSignal,
SyslogFacility,
SyslogLevel,
SyslogLevelPrefix,
@@ -231,8 +308,14 @@ var Properties = []Property{
TimeoutStartUSec,
TimeoutStopFailureMode,
TimeoutStopUSec,
TimeoutUSec,
TimerSlackNSec,
Timestamping,
Transient,
Transparent,
TriggerLimitBurst,
TriggerLimitIntervalUSec,
Triggers,
Type,
UID,
UMask,
@@ -243,4 +326,5 @@ var Properties = []Property{
WatchdogSignal,
WatchdogTimestampMonotonic,
WatchdogUSec,
Writable,
}