verify CLAT_MARK matches aidl constant.
Bug: 235778483 Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ife3ad35b2e5451727a3795a0e78dd820293c0eae
This commit is contained in:
@@ -17,9 +17,12 @@
|
||||
#pragma once
|
||||
// TODO: deduplicate with the constants in NetdConstants.h.
|
||||
#include <aidl/android/net/INetd.h>
|
||||
#include "clat_mark.h"
|
||||
|
||||
using aidl::android::net::INetd;
|
||||
|
||||
static_assert(INetd::CLAT_MARK == CLAT_MARK, "must be 0xDEADC1A7");
|
||||
|
||||
enum FirewallRule { ALLOW = INetd::FIREWALL_RULE_ALLOW, DENY = INetd::FIREWALL_RULE_DENY };
|
||||
|
||||
// ALLOWLIST means the firewall denies all by default, uids must be explicitly ALLOWed
|
||||
|
||||
Reference in New Issue
Block a user