Tags » Kernel

Code snippets for enabling/disabling memory protection in linux

Snippet 1,  uses the (linux) kernel functions:

preempt_disable();
/* Disable Write Protection */
write_cr0(read_cr0() & (~ 0x10000));

/***********************/
/***   do something  ***/
/***********************/

/* Enable Write Protection */
preempt_enable();
write_cr0(read_cr0() | 0x10000);
…
53 more words
C

FreeBSD kernel Makefile variables SRCTOP and SYSDIR

I am currently writing a FreeBSD device driver and find myself lugging around the entire src. As you can imagine, this is quite large, especially if you are using any sort of version tracking system. 242 more words

Computer Science

Red Hat now supports ARM architecture

Once again Red Hat is pushing forward, while helping out the open source community. They released on their blog yesterday that RHEL 7.4 will now be able to run on ARM chipsets. 168 more words

Linux

Isles Insights: Barzal’s five assists lead Islanders in victory over Avs

NEW YORK — Sunday night was a glimpse into the future. If this future is near, Islanders fans are in for a treat.

Behind the performance of the rookie Mathew Barzal and eight points from defensemen, the Islanders took down the Avalanche 6-4 and improved their record to 8-5-1. 683 more words

New York Islanders

EMC Avamar - Linux - Booting off of an ISO then has the Console Serial Connection Freeze/Hang at "Loading initrd_pmc"

When trying to boot off of an ISO in a Linux OS as part of a recovery/deployment effort; we then failed to see any progress with the Linux Console/Serial connection past the page: 913 more words

CRIU

Most low-level software engineers that have an interest in new technologies will probably already know what this post is about: checkpoint/restore in userspace. But this post is – unlike most posts about this technology – not aimed at low-level software monkeys like me. 631 more words

Harvey Weinstein Bullied Everyone - Except Hip-Hop Mogul Damon Dash

The Harvey Weinstein scandal grows crazier and crazier by the minute – wait – more like the second.

Harvey has been accused of accosting and raping over 50 women. 317 more words

College