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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b47e8073-edc9-8151-dd58-42bf958c4ac0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC40:166A68:344C1A:4A9320:6A62028C
html-safe-noncecb64918facf2a519ca20c690a713b2e530f50286056d233cba534f2cf8094fb9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzQwOjE2NkE2ODozNDRDMUE6NEE5MzIwOjZBNjIwMjhDIiwidmlzaXRvcl9pZCI6IjY1MDAyMjU5NzM5NzIyMzg5ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac51f267040645df1821a558770468be665fb0a981280af39da15b371404465a54
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/multikernel/kernelscript/pull/20/commits
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
None92eeba52656842b5eb8a3f62fd6465e80107329999099c7144d43d7476b38ad0
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
release14dbe1e269fc16133b0b2bbc058e3a259cd85df4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/multikernel/kernelscript/pull/20/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmultikernel%2Fkernelscript%2Fpull%2F20%2Fcommits
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%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=multikernel%2Fkernelscript
Reloadhttps://github.com/multikernel/kernelscript/pull/20/commits
Reloadhttps://github.com/multikernel/kernelscript/pull/20/commits
Reloadhttps://github.com/multikernel/kernelscript/pull/20/commits
Please reload this pagehttps://github.com/multikernel/kernelscript/pull/20/commits
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/commits#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
feat(sysctl): parse @sysctl attribute on global var declarationshttps://github.com/multikernel/kernelscript/pull/20/commits/0680e124014d6269f5aea869c250ebd2790815c7
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
0680e12https://github.com/multikernel/kernelscript/pull/20/commits/0680e124014d6269f5aea869c250ebd2790815c7
https://github.com/multikernel/kernelscript/tree/0680e124014d6269f5aea869c250ebd2790815c7
fix(sysctl): align make_global_var_decl naming and round-trip attributeshttps://github.com/multikernel/kernelscript/pull/20/commits/29d77526b57a40bf2e33b053ae58b20fa452d33e
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
29d7752https://github.com/multikernel/kernelscript/pull/20/commits/29d77526b57a40bf2e33b053ae58b20fa452d33e
https://github.com/multikernel/kernelscript/tree/29d77526b57a40bf2e33b053ae58b20fa452d33e
feat(sysctl): validate @sysctl declarations (path, type, modifiers)https://github.com/multikernel/kernelscript/pull/20/commits/2d0c5c83bf19282a5a62b6cfbd7bcbf2fa9c30c0
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
2d0c5c8https://github.com/multikernel/kernelscript/pull/20/commits/2d0c5c83bf19282a5a62b6cfbd7bcbf2fa9c30c0
https://github.com/multikernel/kernelscript/tree/2d0c5c83bf19282a5a62b6cfbd7bcbf2fa9c30c0
feat(sysctl): reject sysctl handle access from eBPF and kfunc contextshttps://github.com/multikernel/kernelscript/pull/20/commits/45c15109d26f085992a26994b0576d571bd18a52
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
45c1510https://github.com/multikernel/kernelscript/pull/20/commits/45c15109d26f085992a26994b0576d571bd18a52
https://github.com/multikernel/kernelscript/tree/45c15109d26f085992a26994b0576d571bd18a52
feat(sysctl): thread sysctl path through IRhttps://github.com/multikernel/kernelscript/pull/20/commits/3b34c2532ee7df0d81582c1c833a3860f3bce8c7
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
3b34c25https://github.com/multikernel/kernelscript/pull/20/commits/3b34c2532ee7df0d81582c1c833a3860f3bce8c7
https://github.com/multikernel/kernelscript/tree/3b34c2532ee7df0d81582c1c833a3860f3bce8c7
feat(sysctl): exclude sysctl globals from eBPF codegenhttps://github.com/multikernel/kernelscript/pull/20/commits/ae64a7f4b85ece0123f0245598c3843eaf0b9a55
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
ae64a7fhttps://github.com/multikernel/kernelscript/pull/20/commits/ae64a7f4b85ece0123f0245598c3843eaf0b9a55
https://github.com/multikernel/kernelscript/tree/ae64a7f4b85ece0123f0245598c3843eaf0b9a55
feat(sysctl): emit /proc/sys read/write accessors in userspace codegenhttps://github.com/multikernel/kernelscript/pull/20/commits/cf7ad382e5a00acfe7c2220faf56c4b7fe387420
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
cf7ad38https://github.com/multikernel/kernelscript/pull/20/commits/cf7ad382e5a00acfe7c2220faf56c4b7fe387420
https://github.com/multikernel/kernelscript/tree/cf7ad382e5a00acfe7c2220faf56c4b7fe387420
feat(sysctl): rewrite userspace handle reads/writes to accessor callshttps://github.com/multikernel/kernelscript/pull/20/commits/6d8b28bf7c4a7ed5aa16580d65a929a6b0ae8465
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
6d8b28bhttps://github.com/multikernel/kernelscript/pull/20/commits/6d8b28bf7c4a7ed5aa16580d65a929a6b0ae8465
https://github.com/multikernel/kernelscript/tree/6d8b28bf7c4a7ed5aa16580d65a929a6b0ae8465
test(sysctl): add end-to-end compile test on examples/sysctl_demo.kshttps://github.com/multikernel/kernelscript/pull/20/commits/68eb322de8015f4711fa737878cbf678b1e6c7ea
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
68eb322https://github.com/multikernel/kernelscript/pull/20/commits/68eb322de8015f4711fa737878cbf678b1e6c7ea
https://github.com/multikernel/kernelscript/tree/68eb322de8015f4711fa737878cbf678b1e6c7ea
feat(sysctl): add sysctl_read_str/sysctl_write_str escape-hatch builtinshttps://github.com/multikernel/kernelscript/pull/20/commits/ac013e3617f902c1c068d529a32aa62d08b3e984
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
ac013e3https://github.com/multikernel/kernelscript/pull/20/commits/ac013e3617f902c1c068d529a32aa62d08b3e984
https://github.com/multikernel/kernelscript/tree/ac013e3617f902c1c068d529a32aa62d08b3e984
docs(sysctl): document @sysctl attribute and stdlib helpershttps://github.com/multikernel/kernelscript/pull/20/commits/750013b2d8abd6ccbdd896497206c9e7c44adaef
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
750013bhttps://github.com/multikernel/kernelscript/pull/20/commits/750013b2d8abd6ccbdd896497206c9e7c44adaef
https://github.com/multikernel/kernelscript/tree/750013b2d8abd6ccbdd896497206c9e7c44adaef
revert(sysctl): remove sysctl_read_str/sysctl_write_str stdlib helpershttps://github.com/multikernel/kernelscript/pull/20/commits/ccc14cbac16977016995697a2e79d428dc99a6c6
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
ccc14cbhttps://github.com/multikernel/kernelscript/pull/20/commits/ccc14cbac16977016995697a2e79d428dc99a6c6
https://github.com/multikernel/kernelscript/tree/ccc14cbac16977016995697a2e79d428dc99a6c6
fix(sysctl): evaluate str-assignment source oncehttps://github.com/multikernel/kernelscript/pull/20/commits/6235ddf043cf7c25b0eab6ac208555b3ca5c9059
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
6235ddfhttps://github.com/multikernel/kernelscript/pull/20/commits/6235ddf043cf7c25b0eab6ac208555b3ca5c9059
https://github.com/multikernel/kernelscript/tree/6235ddf043cf7c25b0eab6ac208555b3ca5c9059
test(strings): match new __src binding in assignment templatehttps://github.com/multikernel/kernelscript/pull/20/commits/a89c87c15d99babef08551062fc4c9f7c43e8f62
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
a89c87chttps://github.com/multikernel/kernelscript/pull/20/commits/a89c87c15d99babef08551062fc4c9f7c43e8f62
https://github.com/multikernel/kernelscript/tree/a89c87c15d99babef08551062fc4c9f7c43e8f62
fix(sysctl): error out when integer sysctl parse failshttps://github.com/multikernel/kernelscript/pull/20/commits/0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
0b27ba6https://github.com/multikernel/kernelscript/pull/20/commits/0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
https://github.com/multikernel/kernelscript/tree/0b27ba6835ef4c78c55d1c9ef13e55ce91ae818d
test(sysctl): drop e2e example-compile testhttps://github.com/multikernel/kernelscript/pull/20/commits/3a6fcd0319d7c24e37c575f13f27a47da31b5f69
https://github.com/congwang-mk
congwang-mkhttps://github.com/multikernel/kernelscript/commits?author=congwang-mk
3a6fcd0https://github.com/multikernel/kernelscript/pull/20/commits/3a6fcd0319d7c24e37c575f13f27a47da31b5f69
https://github.com/multikernel/kernelscript/tree/3a6fcd0319d7c24e37c575f13f27a47da31b5f69
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.