kernel/vmæ¢æ¤épart7ã®çºè¡¨ã¹ã©ã¤ãã§ãã https://kernelvm.connpass.com/event/330079/ 以ä¸åæ¼åç»ã®ããã¹ãã§ãããã¾ãã https://youtu.be/kJzG-o0_m24
Several Linux Kernel Driver Maintainers Removed Due To Their Association To Russia Written by Michael Larabel in Linux Kernel on 22 October 2024 at 02:22 PM EDT. 200 Comments Quietly merged into this week's Linux 6.12-rc4 kernel was a patch that removes a number of kernel maintainers from being noted in the official MAINTAINERS file that recognizes all of the driver and subsystem maintainers. Sent
vmsplice is too fast Some programs use a particular system call âvmspliceâ to move data faster through a pipe. Francesco already did a deep dive on using vmsplice to make things fast. However, while experimenting with it, I noticed that, when not using vmsplice, Linux pipes are slower than what I would have expected. Since you cannot always use it, I wanted to understand exactly why that was, and
ä¸è¨ã®ç¶ãã¨ã³ããªã§ã hiboma.hatenadiary.jp ä»å㯠PSI - Pressure Stall Information ã® /proc/pressure/memory ã«ã¤ãã¦ã®ã¨ã³ã㪠PSI ã使ã㨠CPU, ã¡ã¢ãª, IO 㧠stall ããæé(å²å) ãè¨æ¸¬ã§ããã£ã¦ãªãã¨ã§ãããã©ããã£ãå®è£ ã§ãmemory stall = ã¡ã¢ãªã®ã¹ãã¼ã«ããèµ·ããã¦ããã¿ã¹ã¯ãè¨æ¸¬ãã¦ããã®ãããçåã§èª¿ã¹ã¦ãã¾ãã PSI ã®ããã¥ã¡ã³ã www.kernel.org æ£ç´ãããã¥ã¡ã³ããèªãã ã ãã§ã¯ /proc/pressure/memory ãã©ããã£ãã¿ã¤ãã³ã°ã§è¨ä¸ãããã®ãåããã¾ããã§ãã. ã½ã¼ã¹ãèªã www.kernel.org ./kernel/sched/psi.c ããã¼ã£ã¨å¼ãã§ãã£ã¦ psi_memstall_enter() 㨠p
ãLinuxã«ã¼ãã«2.6解èªå®¤ãï¼ä»¥éãæ§çï¼åºçå¾ãLinuxã«ã¯å¤ãã®æ©è½ã追å ãããã¨ã³ã¿ã¼ãã©ã¤ãºé åãã¯ããã¨ããæ§ã ãªå ´æã§ä½¿ãããããã«ãªãã¾ããã ããã«ä¼´ãã³ã¼ããè¥å¤§ãã¤è¤éåããå¤ãã®ã¨ã³ã¸ãã¢ã«ã¨ã£ã¦è§£èªä¸è½ãªãã©ãã¯ããã¯ã¹ã¨ãªã£ã¦ãã¾ãã ä¸çä¸ã®ãããã¨ã³ã¸ãã¢éã®åä½ã§ããLinuxã«ã¼ãã«ã«ã¡ã¹ãå ¥ãããã©ãã¯ããã¯ã¹ãããéãã¦ãæã«å¥½å¥å¿ã®èµ´ãã¾ã¾ã«ã«ã¼ãã«ã®ä¸çã解èªãããæ°Linuxã«ã¼ãã«è§£èªå®¤ãããã¸ã§ã¯ãã æ¬ç¨¿ã§ã¯ãæ§ç第21ç« ã§è§£èª¬ããã¦ããã½ã±ããã¤ã³ã¿ã¼ãã§ã¼ã¹ã«ã¤ãã¦ãã«ã¼ãã«v6.8ã®ã³ã¼ãããã¼ã¹ã«ä¸»ã«ãã¼ã¿æ§é ãä¸å¿ã«è§£èª¬ãã¾ãã ã¯ããã« ã½ã±ããã®å®ä½ã¨æ¦è¦ ã½ã±ããæä½é¢æ°ã®å®è£ ãã¡ã¤ã«æä½é¢æ°ã«ããã½ã±ããæä½ã®å®è£ 次åäºå: ã½ã±ããçæç·¨ å·çè : é ç° å²å¿ã稲è è²´æ â» ãæ°Linuxã«ã¼ãã«è§£èªå®¤ã
ãLinuxã«ã¼ãã«2.6解èªå®¤ãï¼ä»¥éãæ§çï¼åºçå¾ãLinuxã«ã¯å¤ãã®æ©è½ã追å ãããã¨ã³ã¿ã¼ãã©ã¤ãºé åãã¯ããã¨ããæ§ã ãªå ´æã§ä½¿ãããããã«ãªãã¾ããã ããã«ä¼´ãã³ã¼ããè¥å¤§ãã¤è¤éåããå¤ãã®ã¨ã³ã¸ãã¢ã«ã¨ã£ã¦è§£èªä¸è½ãªãã©ãã¯ããã¯ã¹ã¨ãªã£ã¦ãã¾ãã ä¸çä¸ã®ãããã¨ã³ã¸ãã¢éã®åä½ã§ããLinuxã«ã¼ãã«ã«ã¡ã¹ãå ¥ãããã©ãã¯ããã¯ã¹ãããéãã¦ãæã«å¥½å¥å¿ã®èµ´ãã¾ã¾ã«ã«ã¼ãã«ã®ä¸çã解èªãããæ°Linuxã«ã¼ãã«è§£èªå®¤ãããã¸ã§ã¯ãã æ¬ç¨¿ã§ã¯ãæ§ç第3ç« ã§è§£èª¬ããã¦ããã½ããå²ãè¾¼ã¿å¦çã«ã¤ãã¦ãã«ã¼ãã«v6.8/arm64ã®ã³ã¼ãããã¼ã¹ã«è§£èª¬ãã¾ãã ã¯ããã« å²ãè¾¼ã¿ç¦æ¢åºéã¨å¿çæ§ã«ã¤ã㦠perfã«ãããNMIå²ãè¾¼ã¿ããè¦ãå¿çæ§ ã½ããå²ãè¾¼ã¿å¦ç ã½ããå²ãè¾¼ã¿å¦çã®èãæ¹ ã½ããå²ãè¾¼ã¿å®è¡ã¾ã§ã®æµã ã½ããå²ãè¾¼ã¿è¦æ±ï¼RCU_SOFTIRQã®å ´
2024-01-02T15:00:00+00:00 Maestro is a Unix-like kernel and operating system written from scratch in Rust Thanks to the internet, I can learn how most things I am interested in work. However, something stayed a mystery to me for a long time: computers. Computers are amongst the most complex tools that humanity has ever built. They are a marvel of engineering that we take for granted because we use
第791åã§ã¯åºæ¬çãªã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã®ä½ãæ¹ã¨ãããDKMSã«å¯¾å¿ãããæ¹æ³ãç´¹ä»ãã¾ãããä»åã¯ã«ã¼ãã«ã®æ°ããæ©è½ã®ã²ã¨ã¤ã§ãããRustã§ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ãä½ãæ¹æ³ããç´¹ä»ãã¾ãããã Ubuntuã«ã¼ãã«ã«ãããRustã®å¯¾å¿ Linuxã«ã¼ãã«ã§ã¯ãKernel 6.1ããããã°ã©ãã³ã°è¨èªã§ãããRustãã®æ©è½ãåãè¾¼ã¾ãã¾ãããããã¯ãRust for Linuxãã®ææã§ãã«ã¼ãã«ã®æ©è½ãCè¨èªãã¢ã»ã³ãã©ã ãã§ãªããRustã§ãæ¸ããããã«ããã¨ãããã®ã§ããã¡ã¢ãªã¼å®å ¨æ§ãå¼·ãéçåä»ããªã©ã®ç¹å¾´ãåãè¾¼ããã¨ã§ãã«ã¼ãã«ã®ã»ãã¥ãªãã£åé¡ã®åå ã®å¤ããå ããã¡ã¢ãªã¼é¢é£ã®ä¸å ·åã«å¯¾ãã¦ãä¸ç¨®ã®å¯¾çã«ãªããã¨ãæå¾ ããã¾ãã ããããã±ã¼ã¹ã«ããã¦Rustã«ç½®ãæããããã¨ããããã§ã¯ããã¾ããããä»å¾ã«ã¼ãã«ã®ã³ã¼ããèªã¿æ¸ãããä¸ã§Cè¨èªãã¢ã»ã³ãã©ã ãã§ãª
linux kernelã§ã®FPU, MMX, SSEã«ã¤ã㦠æ¬è¨äºã§ã¯ãlinux kernel 2.6.11ã§ã®FPU(Float Point Unit)ãMMX, SSEãã©ãè¨å®ã使ç¨ããã¦ããã®ãã確èªãããFPU, MMX SSEå½ä»¤ã使ç¨ããéã¯ã使ç¨ããéã«æå³çã«#NM(Interrupt7: Device not available exception)ãåºããå種ãã©ã°ãåãæ¿ã(ç¹ã«cr0.TS flagãOFFã«ãã¦)ããããã®å½ä»¤ã使ããããã«ãã¦ããã(å¾è¿°ã®éããKernel Modeã§ã¯ãkernel_fpu_begin, kernel_fpu_endã«ã¦ãã©ã°ã®åãæ¿ãããããªã£ã¦ãã1ããããã®éãã§ãªãã) ããã°ã©ãã³ã°è¨èªã®ä¾å¤å¦çã¯ããã©ã¼ãã³ã¹ãè½ã¨ããã®ã¨ãã¦ä¸è¬ã«å«ããã¦ãããããã¼ãã¦ã§ã¢(ãã®å ´åx86)ã®ã¬ã¤ã¤ã§ã¯ãä¾å¤ãããã¦æ
...and how to ptrace the entry point and m3ss w1th da stack. In this article, you will learn what happens inside the Linux Kernel when a process calls execve(), how the Kernel prepares the stack and how control is then passed to the userland process for execution. I had to learn this for the development of Zapper - a Linux tool to delete all command line options from any process (without needing r
1. éçã³ã¼ã解æ 2. Infer 3. 調æ»ç°å¢ 4. Inferã®ãã«ã 5. Inferã§è§£æã§ããããã«Linuxã«ã¼ãã«ã½ã¼ã¹ã³ã¼ãã«å°ãä¿®æ£ãå ãã 6. Linuxã«ã¼ãã«ã½ã¼ã¹ã³ã¼ããInferã§æ¤è¨¼ 7. 解æçµæã«å¯¾ããç²¾æ»ã®ä¸ä¾ 7.1. çã®ãã°ã®ä¾ 7.2. ãã©ã¼ã«ã¹ãã¸ãã£ãã®ä¾ 7.3. çã®ãã°ãå¤æã«å°ããã®ã®ä¾ 8. çµè«ã¨ãããã å·çè : å²¡é¨ ç©¶ 1. éçã³ã¼ã解æ æ®æ®µã®éçºã§å質åä¸ãããããã«ã©ã®ãããªææ³ãæ¡ç¨ããã¦ããã§ãããããããããã¦ããããã¹ããçµåãã¹ãã代表ãããã¹ãã使ã£ã¦ããã®ã§ã¯ãªãã§ããããã ãã®ãã¹ãææ³ã¯ç¾å®çã§ãããã£ã¨æããã ãã§ã以ä¸ã®èª²é¡ãããã¾ã: å ¥åã¨åºåããã¹ãã±ã¼ã¹ã¨å¼ã°ããä¾ã¨ãã¦ä¸ããã®ã§å ¨ã¦ã®å ´åãç¶²ç¾ ãããã¨ã¯ä¸å¯è½ ãã¹ãã®ç¶²ç¾ çãä¸ããã«ã¯ã¦ããããã¹ãã®ãããªå°ããåä½ã§
The Hacker Newsã¯7æ6æ¥(ç¾å°æé)ããResearchers Uncover New Linux Kernel 'StackRot' Privilege Escalation Vulnerabilityãã«ããã¦ãLinuxã«ã¼ãã«ã«æ·±å»ãªèå¼±æ§ãçºè¦ãããã¨ä¼ãããæ°ãã«è¦ã¤ãã£ãèå¼±æ§ã¯ãStackRotãã¨åä»ãããã¦ãããç¾æç¹ã§ã¯ãã®æ¬ é¥ãæªç¨ããã形跡ã¯ãªãã¨å ±åãã¦ããã StackRotã¯ã CVE-2023-3269ãã¨ãã¦è¿½è·¡ããã¦ããLinuxã«ã¼ãã«ã®èå¼±æ§ãLinuxã®ãã¼ã¸ã§ã³6.1ãã6.4ã«å½±é¿ãä¸ããå¯è½æ§ããããRed Hat Customer Portalã«ããå ±éèå¼±æ§è©ä¾¡ã·ã¹ãã (CVSS: Common Vulnerability Scoring System)v3ã®ã¹ã³ã¢å¤ã§ã¯7.8ã¨åé¡ãããæ·±å»åº¦ã¯éè¦(High)ã¨è©ä¾¡ã
Introduction Linux kernelã®6.2ããRustã§ã«ã¼ãã«éçºãããããã®åºæ¬çãªãµãã¼ããå°å ¥ããã¾ãããã ã¡ã¸ã£ã¼ãªãã£ã¹ããªãã¥ã¼ã·ã§ã³ã¯6.2ãããã©ã«ãã§æè¼ãã¦ãã¾ããã§ããã ãªã®ã§Rustã«ã¼ãã«ã試ããã¨ããå ´åã ã«ã¼ãã«ã®ã½ã¼ã¹æã£ã¦ãã¦ã«ã¼ãã«ãã«ãé¢é£ã®ã½ããã¦ã§ã¢ãã©ã¤ãã©ãªãã¤ã³ã¹ãã¼ã«ãã Rusté¢é£ã®ãªãã·ã§ã³ã¤ãã¦ãã«ãããªãã㦠Rustã§æ¸ããã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ããã«ãã㦠QEMUã¨ãUTMã¨ãã§ããããåä½ç¢ºèªãã§ãã¾ãã ã¨ããããHelloWorldããã ãã§ããããªãé¢åã§ãã ãããå æ¥ãUbuntu 23.04 â Lunar Lobsterããªãªã¼ã¹ããã¾ããã ããã¯æ¨æºã§Linux Kernel 6.2ãæè¼ãã¦ããã®ã§ãé¢åãªæé ãè¸ã¾ãªãã¦ã Rust製ã®Linux kernelãåãã¾ãã ã¾ããç´ æ´
Bidirectional Quadratic Voting Leveraging Issue-Based Matching
ãã¹ã¦ããã¡ã¤ã«ã¨ããã¢ãã«ã® Linux (Unix) ã«ããã¦ããã¡ã¤ã« I/O (以éåã« I/O ã¨æ¸ã) ãç¥ã£ã¦ããã¦æã¯ãªãã ãã®è¨äºã§ã¯ãåºæ¬çãªãã¡ã¤ã«ã¨é¢é£ãã I/O ã«ã¤ãã¦ã対å¿ãã Linux ã·ã¹ãã ã³ã¼ã«ãä½µãã¦èª¬æããã 次åã¯ããããå®éã« Linux ä¸ã§ç¢ºèªããäºå®ã ãã¡ã¤ã« Unix ã«ããããã¡ã¤ã«ã¨ã¯ãæ®éãé常ãã¡ã¤ã«ãã®ãã¨ãæãããã¤ãããªãã¢ã«ä¸¦ãã ãã¼ã¿ (byte stream) ã®ãã¨ã§ããã ãã¡ã¤ã«å ã®ãã¤ãã¯èªã¿æ¸ããå¯è½ã§ãæå®ããããã¤ãããéå§ããããã®éå§ãã¤ãã¯ãã¡ã¤ã«å ã®ãä½ç½®ãã¨èãããã¨ãã§ãããã¡ã¤ã«ãã¸ã·ã§ã³ã¾ãã¯ãã¡ã¤ã«ãªãã»ããã¨ããã é常ãã¡ã¤ã«ã¨ã¯å¥ã«ãã¹ãã·ã£ã«ãã¡ã¤ã«ã¨ãããã¡ã¤ã«ã¨ãã¦è¡¨ç¾ãããã«ã¼ãã«ãªãã¸ã§ã¯ãããããLinux ã§ã¯ãã¹ãã·ã£ã«ãã¡ã¤ã«ã¨ãã¦ããã¤ã¹ãã¼ãã»ååä»
(This post is also available in English.) ãã®è¨äºã¯ In defence of swap: common misconceptions ã èè ã® Chris Down ããã®è¨±å¯ ãå¾ã¦ Hiroaki Nakamura ãæ¥æ¬èªã«ç¿»è¨³ãããã®ã§ãã åæã®ã©ã¤ã»ã³ã¹ 㯠CC BY-SA 4.0 ã§ããã翻訳ã®ã©ã¤ã»ã³ã¹ãåãã CC BY 4.0 ã¨ãã¾ãã é·æãèªã¿ãããªãæ¹ã¸ã®è¦ç´ï¼ ã¹ã¯ãããæã¤ãã¨ã¯æ£ããæ©è½ããã·ã¹ãã ã®ããªãéè¦ãªãã¤ã³ãã§ãã ã¹ã¯ãããç¡ããã°ãã¾ã¨ããªã¡ã¢ãªç®¡çãå®ç¾ãããã¨ã¯é£ãããªãã¾ãã ã¹ã¯ããã¯ä¸è¬çã«ç·æ¥äºæ ç¨ã®ã¡ã¢ãªãåå¾ããããã®ãã®ã§ã¯ãªããã¡ã¢ãªã®ååãå¹³çã«å¹ççã«è¡ãããã®ãã®ã§ãã å®ã®ã¨ãããç·æ¥äºæ ç¨ã®ã¡ã¢ãªãã¯ä¸è¬çã«ç大ã«æªå½±é¿ãåã¼ãã¾ãã ã¹ã¯ãããç¡å¹ã«ãããã¨ã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}