Simple Linux Kernel Module Development in C
In this article, we explore the basics of Linux kernel module development. We introduce kernel modules and show how to write, compile, and run a simple "Hello, Kernel! " module.
Linux kernel module
Exploring-os
In this article, we explore the basics of Linux kernel module development. We introduce kernel modules and show how to write, compile, and run a simple "Hello, Kernel! " module.
Linux kernel module
Exploring-os
Exploring Operating Systems
Day 34: Linux Kernel Module Development
69 Days of Deep Dive Implementation in C
🔥3
Forwarded from (φ (μ (λ)))
1844. Grassmann publishes the first full exposition of his system, his Die lineale Ausdehnungslehre, ein neuer Zweig der Mathematik dargestellt and durch Anwendungen auf die ubrigen Zweige der Mathematick, wie auch auf der Statik, Mechanik, die Lehre vom Magnetismus und die Krystallonomie erläutert. Whereas on the noscript page of Hamilton’s Lectures on Quaternions, Hamilton was identified by a large array of noscripts and memberships, Grassmann’s noscript page identified him only as “Lehrer an der Friedrich Wilhelms Schule zu Stettin.” The book attracts almost no attention and about 600 copies of it were in 1864 used for waste paper.
Grassmann’s Die lineale Ausdehnungslehre (Linear Extension Theory) demonstrated deep mathematical insights. It also in one sense contained much of the modern system of vector analysis. This, however, was embedded within a far broader system, which included n-dimensional spaces and as many as sixteen different products of his base entities (including his inner and outer products, which are respectively somewhat close to the our modern dot and cross products). Moreover, Grassmann justifies his system by philosophical discussions that may have put off many of his readers. The abstractness of his presentation and the originality of his insights also contributed to the difficulties readers had in comprehending Grassmann’s message, as is evident from comments made by various mathematicians who had struggled with the book. Möbius, for example, labeled it unreadable, Baltzer reported that reading the book made him feel “dizzy and to see sky blue before my eyes,” and Hamilton wrote De Morgan that to read the Ausdehnungslehre he would have to learn to smoke.
1845. After Grassmann’s unsuccessful efforts to persuade Möbius to write a review of his book, Grassmann, at Möbius’s urging, writes a review of his own book—the only review his book received! He also publishes a paper containing a new discovery in electrical theory that he had derived using his new methods. The result: more neglect, until the 1870s when Clausius made the same electrical discovery and published it, only then realizing that Grassmann had preceded him.
Michael Crowe, A History of Vector Analysis (1969)
👍2
Forwarded from Programming Deadlock
11-ghuloum.pdf
581.7 KB
An Incremental Approach to Compiler Construction
Forwarded from ⸙anachronistic leaves🌿
Images created solely using mathematical equations by mathematical artist Hamid Naderi Yaganeh.
Forwarded from Heartbleed
#app #dicas
Xenia Canary
Fork do emulador de Xbox 360 "Xenia" com foco em código experimental.
Uma das grandes vantagens é que ele é muito mais ativo que o Xenia oficial, se você teve problemas com o Xenia oficial teste o Canary.
Os programadores estão amadurecendo o suporte a Linux e não sei o progresso atual do renderizador Vulkan, no caso de problemas use a versão de Windows no Proton ou Wine.
https://github.com/xenia-canary/xenia-canary
Xenia Canary
Fork do emulador de Xbox 360 "Xenia" com foco em código experimental.
Uma das grandes vantagens é que ele é muito mais ativo que o Xenia oficial, se você teve problemas com o Xenia oficial teste o Canary.
Os programadores estão amadurecendo o suporte a Linux e não sei o progresso atual do renderizador Vulkan, no caso de problemas use a versão de Windows no Proton ou Wine.
https://github.com/xenia-canary/xenia-canary
GitHub
GitHub - xenia-canary/xenia-canary: Xbox 360 Emulator Research Project
Xbox 360 Emulator Research Project . Contribute to xenia-canary/xenia-canary development by creating an account on GitHub.
🔥2
Discrete Differential Geometry
“Este curso se concentra no processamento de geometria tridimensional, ao mesmo tempo em que fornece um primeiro curso de geometria diferencial tradicional.“
Prerequisites: linear algebra, vector calculus, some programming experience.
[link] #math #programming
“Este curso se concentra no processamento de geometria tridimensional, ao mesmo tempo em que fornece um primeiro curso de geometria diferencial tradicional.“
Prerequisites: linear algebra, vector calculus, some programming experience.
[link] #math #programming
🔥6
Forwarded from Programming Deadlock
Fun with C++26 reflection - Keyword Arguments
https://pydong.org/posts/KwArgs/
https://pydong.org/posts/KwArgs/
Pydong
Fun with C++26 reflection - Keyword Arguments
In this blog post, we’ll explore implementing order-independent keyword arguments for C++ through use of C++26’s proposed reflection features. I stumbled upon this technique while experimenting with reflection a few days ago and thought it might be worthwhile…
⚡1
Forwarded from Heartbleed
🔥2
Forwarded from Ziyao Channel | 二代目 (梓瑶 | \302\347\317\302/\306\374\313\334\n)
OpenSSL 3.3,3.4 中的 AES CTR 实现中的寄存器恢复代码有一处 typo,破坏了上下文,可能导致各种运行时问题
Debian[1][2] 和 PostgreSQL[3] 有开发者分别独立发现了该问题
应当 backport OpenSSL commit 5261f3c ("Restore correct registers in aarch64 AES-CTR code")(已合并至 OpenSSL master)以修复该问题。 其将被包含在将在 Feb. 11th, 2025 到来的 3.4.1,3.3.3 安全更新中[4]。该更新修复的最严重的安全问题评级为"High"。
[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118537
[2]: https://github.com/openssl/openssl/issues/26466
[3]: https://www.postgresql.org/message-id/flat/Z4VjonBTm6IG8mGa%40msg.df7cb.de
[4]: https://marc.info/?l=openssl-announce&m=173868687506329
Reference: https://github.com/openssl/openssl/pull/26469
Reference: https://lore.kernel.org/distributions/yhpwtug56qu7c27bppk2d3w55abmzjbiyk6xfi4zhvqm24p5db@n47ivtemfltg/T/#t
Debian[1][2] 和 PostgreSQL[3] 有开发者分别独立发现了该问题
应当 backport OpenSSL commit 5261f3c ("Restore correct registers in aarch64 AES-CTR code")(已合并至 OpenSSL master)以修复该问题。 其将被包含在将在 Feb. 11th, 2025 到来的 3.4.1,3.3.3 安全更新中[4]。该更新修复的最严重的安全问题评级为"High"。
[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118537
[2]: https://github.com/openssl/openssl/issues/26466
[3]: https://www.postgresql.org/message-id/flat/Z4VjonBTm6IG8mGa%40msg.df7cb.de
[4]: https://marc.info/?l=openssl-announce&m=173868687506329
Reference: https://github.com/openssl/openssl/pull/26469
Reference: https://lore.kernel.org/distributions/yhpwtug56qu7c27bppk2d3w55abmzjbiyk6xfi4zhvqm24p5db@n47ivtemfltg/T/#t
GitHub
rand_new_drbg() clobbers d15 on Graviton/armv8 · Issue #26466 · openssl/openssl
I don't particularly have a reproducer handy right now that's easy to approach; the apt code is quite complex. Recent fixes in gcc made it use the d15 register in apt code, and OpenSSL on a...