晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
|
Server : Apache System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64 User : rainic ( 1014) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/thread-self/root/usr/share/systemtap/tapset/ |
Upload File : |
// constants
global TARGET_ID=0, TARGET_AUTH=1, TARGET_ACCESS=2, TARGET_CHPASS=3,
TARGET_SUDO=4, TARGET_AUTOFS=5, TARGET_SELINUX=6, TARGET_HOSTID=7,
TARGET_SUBDOMAINS=8, TARGET_SESSION=9, TARGET_RESOLVER=10,
TARGET_SENTINEL=11
global METHOD_CHECK_ONLINE=0, METHOD_ACCOUNT_HANDLER=1, METHOD_AUTH_HANDLER=2,
METHOD_ACCESS_HANDLER=3, METHOD_SELINUX_HANDLER=4, METHOD_SUDO_HANDLER=5,
METHOD_AUTOFS_HANDLER=6, METHOD_HOSTID_HANDLER=7, METHOD_DOMAINS_HANDLER=8,
METHOD_RESOLVER_HANDLER=9, METHOD_SENTINEL=10
function acct_req_desc(entry_type)
{
if (entry_type == 0x0001) {
str_entry_type = "user"
} else if (entry_type == 0x0002) {
str_entry_type = "group"
} else if (entry_type == 0x0003) {
str_entry_type = "initgroups"
} else if (entry_type == 0x0004) {
str_entry_type = "netgroups"
} else if (entry_type == 0x0005) {
str_entry_type = "services"
} else if (entry_type == 0x0006) {
str_entry_type = "sudo_full"
} else if (entry_type == 0x0007) {
str_entry_type = "sudo_rules"
} else if (entry_type == 0x0008) {
str_entry_type = "host"
} else if (entry_type == 0x0009) {
str_entry_type = "ip_network"
} else if (entry_type == 0x0010) {
str_entry_type = "subid_ranges"
} else if (entry_type == 0x0011) {
str_entry_type = "by_secid"
} else if (entry_type == 0x0012) {
str_entry_type = "user_and_group"
} else if (entry_type == 0x0013) {
str_entry_type = "by_uuid"
} else if (entry_type == 0x0014) {
str_entry_type = "by_cert"
} else {
str_entry_type = sprintf("%X", entry_type)
}
return str_entry_type
}
function sssd_acct_req_probestr(fc_name, entry_type, filter_type,
filter_value, extra_value)
{
str_entry_type = acct_req_desc(entry_type)
# Maybe we could use guru mode here and include the constants
# directly..
if (filter_type == 1) {
str_filter_type = "name"
} else if (filter_type == 2) {
str_filter_type = "idnum"
} else if (filter_type == 3) {
str_filter_type = "enum"
} else if (filter_type == 4) {
str_filter_type = "secid"
} else if (filter_type == 5) {
str_filter_type = "uuid"
} else if (filter_type == 6) {
str_filter_type = "cert"
} else if (filter_type == 7) {
str_filter_type = "wildcard"
} else {
str_filter_type = sprintf("%d", filter_type)
}
probestr = sprintf("%s(entry_type=%s, filter_type=%s, filter_value=%s, extra_value=%s)",
fc_name, str_entry_type, str_filter_type,
filter_value, extra_value)
return probestr
}
function dp_target_str(target)
{
if (target == TARGET_ID) {
str_target = "ID"
} else if (target == TARGET_AUTH) {
str_target = "AUTH"
} else if (target == TARGET_ACCESS) {
str_target = "ACCESS"
} else if (target == TARGET_CHPASS) {
str_target = "CHPASS"
} else if (target == TARGET_SUDO) {
str_target = "SUDO"
} else if (target == TARGET_AUTOFS) {
str_target = "AUTOFS"
} else if (target == TARGET_SELINUX) {
str_target = "SELINUX"
} else if (target == TARGET_HOSTID) {
str_target = "HOSTID"
} else if (target == TARGET_SUBDOMAINS) {
str_target = "SUBDOMAINS"
} else if (target == TARGET_SESSION) {
str_target = "SESSION"
} else if (target == TARGET_RESOLVER) {
str_target = "RESOLVER"
} else if (target == TARGET_SENTINEL) {
str_target = "TARGET_SENTINEL"
} else {
str_target = "UNKNOWN"
}
return str_target
}
function dp_method_str(method)
{
if (method == METHOD_CHECK_ONLINE) {
str_method = "Check Online"
} else if (method == METHOD_ACCOUNT_HANDLER) {
str_method = "Account Handler"
} else if (method == METHOD_AUTH_HANDLER) {
str_method = "Auth Handler"
} else if (method == METHOD_ACCESS_HANDLER) {
str_method = "Access Handler"
} else if (method == METHOD_SELINUX_HANDLER) {
str_method = "SELinux Handler"
} else if (method == METHOD_SUDO_HANDLER) {
str_method = "Sudo Handler"
} else if (method == METHOD_AUTOFS_HANDLER) {
str_method = "Autofs Handler"
} else if (method == METHOD_HOSTID_HANDLER) {
str_method = "HostID Handler"
} else if (method == METHOD_DOMAINS_HANDLER) {
str_method = "Domains Handler"
} else if (method == METHOD_RESOLVER_HANDLER) {
str_method = "Resolver Handler"
} else if (method == METHOD_SENTINEL) {
str_method = "Method Sentinel"
} else {
str_method = "UNKNOWN"
}
return str_method
}