René's URL Explorer Experiment


Title: feat(sysctl): typed @sysctl global variables by congwang-mk · Pull Request #20 · multikernel/kernelscript · GitHub

Open Graph Title: feat(sysctl): typed @sysctl global variables by congwang-mk · Pull Request #20 · multikernel/kernelscript

X Title: feat(sysctl): typed @sysctl global variables by congwang-mk · Pull Request #20 · multikernel/kernelscript

Description: KernelScript is a modern, type-safe, domain-specific programming language for eBPF-centric kernel customization - feat(sysctl): typed @sysctl global variables by congwang-mk · Pull Request #20 · multikernel/kernelscript

Open Graph Description: Summary Adds a @sysctl("dotted.path") var name: T attribute that turns userspace global variable reads/writes into /proc/sys/... file I/O. The handle is fully imperative — the user contro...

X Description: Summary Adds a @sysctl("dotted.path") var name: T attribute that turns userspace global variable reads/writes into /proc/sys/... file I/O. The handle is fully imperative — the use...

Opengraph URL: https://github.com/multikernel/kernelscript/pull/20

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3cda34c0-aa51-f890-bf20-88d599ce62ce
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD208:425E5:2619791:34D5B05:6A60B013
html-safe-nonce19979be24526ad11c7d91b5cdb643a8823fdf204a3e486249aefb663491d64d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjA4OjQyNUU1OjI2MTk3OTE6MzRENUIwNTo2QTYwQjAxMyIsInZpc2l0b3JfaWQiOiIxMDI4Mzc4ODcwODMwNjQxMTcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5ecb3f39452ee69d46f278cbfa8a9784cad5898956e616821771544584f0de6e
hovercard-subject-tagpull_request:3634019345
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/multikernel/kernelscript/20/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/01fcf3360c4ad832ce7ab3da532cf873db9c9d4abe3f5e774564ac261480d075/multikernel/kernelscript/pull/20
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/01fcf3360c4ad832ce7ab3da532cf873db9c9d4abe3f5e774564ac261480d075/multikernel/kernelscript/pull/20
og:image:altSummary Adds a @sysctl("dotted.path") var name: T attribute that turns userspace global variable reads/writes into /proc/sys/... file I/O. The handle is fully imperative — the user contro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecongwang-mk
hostnamegithub.com
expected-hostnamegithub.com
None35671f8a6946a7a2a81d51ae49f5465bdc5f925c23c9cb839206b24345dbe8d9
turbo-cache-controlno-cache
go-importgithub.com/multikernel/kernelscript git https://github.com/multikernel/kernelscript.git
octolytics-dimension-user_id202362072
octolytics-dimension-user_loginmultikernel
octolytics-dimension-repository_id1019261571
octolytics-dimension-repository_nwomultikernel/kernelscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1019261571
octolytics-dimension-repository_network_root_nwomultikernel/kernelscript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release746dc49090e6e3995bb502dce0f8807393e36eda
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/multikernel/kernelscript/pull/20#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmultikernel%2Fkernelscript%2Fpull%2F20
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmultikernel%2Fkernelscript%2Fpull%2F20
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=multikernel%2Fkernelscript
Reloadhttps://github.com/multikernel/kernelscript/pull/20
Reloadhttps://github.com/multikernel/kernelscript/pull/20
Reloadhttps://github.com/multikernel/kernelscript/pull/20
Please reload this pagehttps://github.com/multikernel/kernelscript/pull/20
multikernel https://github.com/multikernel
kernelscripthttps://github.com/multikernel/kernelscript
Notifications https://github.com/login?return_to=%2Fmultikernel%2Fkernelscript
Fork 23 https://github.com/login?return_to=%2Fmultikernel%2Fkernelscript
Star 501 https://github.com/login?return_to=%2Fmultikernel%2Fkernelscript
Code https://github.com/multikernel/kernelscript
Issues 2 https://github.com/multikernel/kernelscript/issues
Pull requests 0 https://github.com/multikernel/kernelscript/pulls
Actions https://github.com/multikernel/kernelscript/actions
Projects https://github.com/multikernel/kernelscript/projects
Security and quality 0 https://github.com/multikernel/kernelscript/security
Insights https://github.com/multikernel/kernelscript/pulse
Code https://github.com/multikernel/kernelscript
Issues https://github.com/multikernel/kernelscript/issues
Pull requests https://github.com/multikernel/kernelscript/pulls
Actions https://github.com/multikernel/kernelscript/actions
Projects https://github.com/multikernel/kernelscript/projects
Security and quality https://github.com/multikernel/kernelscript/security
Insights https://github.com/multikernel/kernelscript/pulse
congwang-mkhttps://github.com/congwang-mk
mainhttps://github.com/multikernel/kernelscript/tree/main
feature/sysctl-supporthttps://github.com/multikernel/kernelscript/tree/feature/sysctl-support
Conversationhttps://github.com/multikernel/kernelscript/pull/20
Commits16 (16)https://github.com/multikernel/kernelscript/pull/20/commits
Checkshttps://github.com/multikernel/kernelscript/pull/20/checks
Files changedhttps://github.com/multikernel/kernelscript/pull/20/files
feat(sysctl): typed @sysctl global variableshttps://github.com/multikernel/kernelscript/pull/20#top
congwang-mkhttps://github.com/congwang-mk
mainhttps://github.com/multikernel/kernelscript/tree/main
feature/sysctl-supporthttps://github.com/multikernel/kernelscript/tree/feature/sysctl-support
https://github.com/congwang-mk
congwang-mkhttps://github.com/congwang-mk
May 6, 2026https://github.com/multikernel/kernelscript/pull/20#issue-4388227482
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/multikernel/kernelscript/pull/20
https://github.com/SiyuanSun0736
SiyuanSun0736https://github.com/SiyuanSun0736
May 7, 2026 https://github.com/multikernel/kernelscript/pull/20#pullrequestreview-4243835580
View reviewed changes https://github.com/multikernel/kernelscript/pull/20/files
src/userspace_codegen.mlhttps://github.com/multikernel/kernelscript/pull/20/files#diff-1864935d68899925ab1485ad4f91071ac537e818db74b2dfc6c5979902c7efbf
Please reload this pagehttps://github.com/multikernel/kernelscript/pull/20
congwang-mkhttps://github.com/congwang-mk
May 12, 2026 21:47https://github.com/multikernel/kernelscript/pull/20#commits-pushed-0680e12
https://github.com/congwang-mk
feat(sysctl): parsehttps://github.com/multikernel/kernelscript/pull/20/commits/0680e124014d6269f5aea869c250ebd2790815c7
@sysctlhttps://github.com/sysctl
attribute on global var declarationshttps://github.com/multikernel/kernelscript/pull/20/commits/0680e124014d6269f5aea869c250ebd2790815c7
0680e12https://github.com/multikernel/kernelscript/pull/20/commits/0680e124014d6269f5aea869c250ebd2790815c7
https://github.com/congwang-mk
fix(sysctl): align make_global_var_decl naming and round-trip attributeshttps://github.com/multikernel/kernelscript/pull/20/commits/29d77526b57a40bf2e33b053ae58b20fa452d33e
29d7752https://github.com/multikernel/kernelscript/pull/20/commits/29d77526b57a40bf2e33b053ae58b20fa452d33e
https://github.com/congwang-mk
feat(sysctl): validatehttps://github.com/multikernel/kernelscript/pull/20/commits/2d0c5c83bf19282a5a62b6cfbd7bcbf2fa9c30c0
@sysctlhttps://github.com/sysctl
declarations (path, type, modifiers)https://github.com/multikernel/kernelscript/pull/20/commits/2d0c5c83bf19282a5a62b6cfbd7bcbf2fa9c30c0
2d0c5c8https://github.com/multikernel/kernelscript/pull/20/commits/2d0c5c83bf19282a5a62b6cfbd7bcbf2fa9c30c0
https://github.com/congwang-mk
feat(sysctl): reject sysctl handle access from eBPF and kfunc contextshttps://github.com/multikernel/kernelscript/pull/20/commits/45c15109d26f085992a26994b0576d571bd18a52
45c1510https://github.com/multikernel/kernelscript/pull/20/commits/45c15109d26f085992a26994b0576d571bd18a52
https://github.com/congwang-mk
feat(sysctl): thread sysctl path through IRhttps://github.com/multikernel/kernelscript/pull/20/commits/3b34c2532ee7df0d81582c1c833a3860f3bce8c7
3b34c25https://github.com/multikernel/kernelscript/pull/20/commits/3b34c2532ee7df0d81582c1c833a3860f3bce8c7
https://github.com/congwang-mk
feat(sysctl): exclude sysctl globals from eBPF codegenhttps://github.com/multikernel/kernelscript/pull/20/commits/ae64a7f4b85ece0123f0245598c3843eaf0b9a55
ae64a7fhttps://github.com/multikernel/kernelscript/pull/20/commits/ae64a7f4b85ece0123f0245598c3843eaf0b9a55
https://github.com/congwang-mk
feat(sysctl): emit /proc/sys read/write accessors in userspace codegenhttps://github.com/multikernel/kernelscript/pull/20/commits/cf7ad382e5a00acfe7c2220faf56c4b7fe387420
cf7ad38https://github.com/multikernel/kernelscript/pull/20/commits/cf7ad382e5a00acfe7c2220faf56c4b7fe387420
https://github.com/congwang-mk
feat(sysctl): rewrite userspace handle reads/writes to accessor callshttps://github.com/multikernel/kernelscript/pull/20/commits/6d8b28bf7c4a7ed5aa16580d65a929a6b0ae8465
6d8b28bhttps://github.com/multikernel/kernelscript/pull/20/commits/6d8b28bf7c4a7ed5aa16580d65a929a6b0ae8465
https://github.com/congwang-mk
test(sysctl): add end-to-end compile test on examples/sysctl_demo.kshttps://github.com/multikernel/kernelscript/pull/20/commits/68eb322de8015f4711fa737878cbf678b1e6c7ea
68eb322https://github.com/multikernel/kernelscript/pull/20/commits/68eb322de8015f4711fa737878cbf678b1e6c7ea
https://github.com/congwang-mk
feat(sysctl): add sysctl_read_str/sysctl_write_str escape-hatch builtinshttps://github.com/multikernel/kernelscript/pull/20/commits/ac013e3617f902c1c068d529a32aa62d08b3e984
ac013e3https://github.com/multikernel/kernelscript/pull/20/commits/ac013e3617f902c1c068d529a32aa62d08b3e984
https://github.com/congwang-mk
docs(sysctl): documenthttps://github.com/multikernel/kernelscript/pull/20/commits/750013b2d8abd6ccbdd896497206c9e7c44adaef
@sysctlhttps://github.com/sysctl
attribute and stdlib helpershttps://github.com/multikernel/kernelscript/pull/20/commits/750013b2d8abd6ccbdd896497206c9e7c44adaef
750013bhttps://github.com/multikernel/kernelscript/pull/20/commits/750013b2d8abd6ccbdd896497206c9e7c44adaef
https://github.com/congwang-mk
revert(sysctl): remove sysctl_read_str/sysctl_write_str stdlib helpershttps://github.com/multikernel/kernelscript/pull/20/commits/ccc14cbac16977016995697a2e79d428dc99a6c6
ccc14cbhttps://github.com/multikernel/kernelscript/pull/20/commits/ccc14cbac16977016995697a2e79d428dc99a6c6
https://github.com/congwang-mk
fix(sysctl): evaluate str-assignment source oncehttps://github.com/multikernel/kernelscript/pull/20/commits/6235ddf043cf7c25b0eab6ac208555b3ca5c9059
6235ddfhttps://github.com/multikernel/kernelscript/pull/20/commits/6235ddf043cf7c25b0eab6ac208555b3ca5c9059
https://github.com/congwang-mk
test(strings): match new __src binding in assignment templatehttps://github.com/multikernel/kernelscript/pull/20/commits/a89c87c15d99babef08551062fc4c9f7c43e8f62
a89c87chttps://github.com/multikernel/kernelscript/pull/20/commits/a89c87c15d99babef08551062fc4c9f7c43e8f62
https://github.com/congwang-mk
fix(sysctl): error out when integer sysctl parse failshttps://github.com/multikernel/kernelscript/pull/20/commits/0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
0b27ba6https://github.com/multikernel/kernelscript/pull/20/commits/0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
https://github.com/congwang-mk
congwang-mkhttps://github.com/congwang-mk
force-pushedhttps://github.com/multikernel/kernelscript/compare/a0574c0dfb4d6364f596a6cdb85d0fd5bb4e5e09..0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
a0574c0https://github.com/multikernel/kernelscript/commit/a0574c0dfb4d6364f596a6cdb85d0fd5bb4e5e09
0b27ba6https://github.com/multikernel/kernelscript/commit/0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
Compare https://github.com/multikernel/kernelscript/compare/a0574c0dfb4d6364f596a6cdb85d0fd5bb4e5e09..0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
May 13, 2026 04:53https://github.com/multikernel/kernelscript/pull/20#event-25464647218
https://github.com/congwang-mk
test(sysctl): drop e2e example-compile testhttps://github.com/multikernel/kernelscript/pull/20/commits/3a6fcd0319d7c24e37c575f13f27a47da31b5f69
3a6fcd0https://github.com/multikernel/kernelscript/pull/20/commits/3a6fcd0319d7c24e37c575f13f27a47da31b5f69
https://github.com/congwang-mk
congwang-mkhttps://github.com/congwang-mk
888f9aahttps://github.com/multikernel/kernelscript/commit/888f9aa81985e60084926670339860fab82a9e93
May 22, 2026https://github.com/multikernel/kernelscript/pull/20#event-25871988220
Please reload this pagehttps://github.com/multikernel/kernelscript/pull/20
https://github.com/congwang-mk
congwang-mkhttps://github.com/congwang-mk
May 22, 2026 23:22https://github.com/multikernel/kernelscript/pull/20#event-25871989143
https://github.co/hiddenchars
https://github.com/multikernel/kernelscript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmultikernel%2Fkernelscript%2Fpull%2F20
https://github.com/SiyuanSun0736
SiyuanSun0736 https://github.com/SiyuanSun0736
https://github.com/multikernel/kernelscript/pull/20/files/a0574c0dfb4d6364f596a6cdb85d0fd5bb4e5e09
Please reload this pagehttps://github.com/multikernel/kernelscript/pull/20
https://github.com/congwang-mk
https://github.com/SiyuanSun0736
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.