News for hackers. Stuff that matters.

grapeli23

Re:Linux Hardening Guide on Thursday December 31, 2020 @04:10AM (#25590977)
I missed? Such an important was not mentioned

NoNewPrivileges=yes

"A new system.conf setting NoNewPrivileges= is now available which may be used to turn off acquisition of new privileges system-wide (i.e. set Linux' PR_SET_NO_NEW_PRIVS for PID 1 itself, and thus also for all its children). Note that turning this option on means setuid binaries and file system capabilities lose their special powers. While turning on this option is a big step towards a more secure system, doing so is likely to break numerous pre-existing UNIX tools, in particular su and sudo."

It also works in the browser under JSLinux in Wine (requires mfc42u.dll). https://bellard.org/jslinux/vm.html?url=alpine-x86-xwin.cfg&...
Re:Writing to the Framebuffer (2018) on Tuesday June 02, 2020 @05:57PM (#23396856)
Works even in JSlinux. https://bellard.org/jslinux/vm.html?url=buildroot-x86-xwin.c...

Download old qemu. https://drive.google.com/file/d/1e6UJcTC9FfwO20xzvcasTToPoaT...

Load into jslinux. And execute the following commands in xterm.

gzip -dc qemu-0.9.1.tar.gz | tar xf - -C/

mkdir /dev/shm && mount -t tmpfs tmpfs /dev/shm

SDL_NOMOUSE=1 qemu -k en-us -m 4 pi.vfd

Necessary condition, Xorg must work with the fbdev driver.

chrome://inspect/#pages
Re:FreeBSD has removed GCC from its base system on Tuesday March 03, 2020 @12:36PM (#22476713)
What compiler is used to build blas and lapack, as well as a whole lot of programming based on them like numpy, scipy, julia, etc.?
Two years ago I started Chromium under Bellard JSLinux. The only version (32) I found that did not require SSE instructions. https://drive.google.com/open?id=0BwO8xuhb9OwrV1ZzT3ktX3hPb0...
Minimal bootloader can fit in MBR. http://sebastian-plotz.blogspot.com/
Re:Nanix: An idea for a modern, small, Unix-like operating system on Saturday September 21, 2019 @06:21PM (#21038243)
Strongly trimmed linux kernel + minimal userspace based on klibc will certainly fit on 1.44MB. The dash (x86) built with klibc occupies something with <50kB in memory, below 100kB on disk.

I recommend reviewing this thread. https://www.mail-archive.com/[email protected]/ms...

All these proposals have their justification. Surprisingly only incomprehensible complications, is it easier to use

cpupower frequency-set -g performance

and use intel-speed-select tool https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

Re:“I would like to maintain the floppy driver” on Friday August 02, 2019 @03:53PM (#20596048)
Just 2 and a half years ago I was running the kernel 4.10 on such equipment - AMD K6-2 300MHz, 3DFx Banshee (AGP2x), Trident 9440 (PCI), television card bt878, sound card Maestro, SoundBlaster Creative. Everything worked. I am sure that it would also move under the latest 5.3-rc2. A bigger problem is with the right (ready) userland (i486, i586) than using old hardware with the latest kernel.
Re:Firefox Local Files Theft – Not Patched Yet on Thursday July 04, 2019 @07:19AM (#20353530)
It's easier to create a new user account and run firefox from it. Something like: xhost +si:localuser:firefox && su - firefox -c 'DISPLAY=:0 HOME=/home/firefox firefox 2>/dev/null' && xhost -
Re:Google Earth Ported to Browsers with WebAssembly on Tuesday July 02, 2019 @02:45PM (#20338150)
https://www.chromium.org/chromium-os/meltdown-spectre-vulner...

In this list, I see more than 40 ARM-based models. This is very, very much compared to the list of commercially available M$ Surface. In comparison with the number of Android devices it's a drop in the sea.

You have a problem with the browser.

It should display correctly on the 10-year old webkit engine.

https://groups.google.com/forum/m/#!topic/golang-nuts/6dKNSN...

This works fine without javascript.

https://groups.google.com/forum/?_escaped_fragment_=topic/go...

Re:I tried creating a web browser, and Google blocked me on Tuesday April 02, 2019 @12:16PM (#19555713)
There is no such package 'chromium-widevine' in the Arch Linux repository.

sudo pacman -S chromium-widevine

error: target not found: chromium-widevine

Perl is not needed.

URxvt.keysym.M-C-minus: command:\033]4;0;#333333\007\033]4;1;#cd3333\007\033]4;2;#33cd33\007\033]4;3;#cdcd33\007\033]4;4;#3333cd\007\033]4;5;#cd33cd\007\033]4;6;#33cdcd\007\033]4;7;#cdcdcd\007\033]4;8;#656565\007\033]4;9;#ff6565\007\033]4;10;#65ff65\007\033]4;11;#ffff65\007\033]4;12;#6565ff\007\033]4;13;#ff65ff\007\033]4;14;#65ffff\007\033]4;15;#ffffff\007\033]11;#101010\007\033]12;white

Re:Pause/unpause any X11 application on Thursday September 20, 2018 @09:08AM (#18032088)
The cgroup freezer is much better (reliable).

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

Re:Why Kubernetes Is the New Application Server on Thursday July 12, 2018 @04:20PM (#17518288)
2003 http://linux-vserver.org/Overview#History

In the Linux distribution that I used (PLD), the first vserver support took place in january 2004. https://github.com/pld-linux/kernel/commit/5be58c1bcc5568676...

Maybe a little earlier because the util-vserver showed in Nov 2003. https://github.com/pld-linux/util-vserver/commit/c4036d6e748...

Re:Why Kubernetes Is the New Application Server on Thursday July 12, 2018 @02:42PM (#17517433)
You probably never heard or used - Linux VServer. Available from the later version of the 2.4 kernel.

https://en.wikipedia.org/wiki/Linux-VServer

Re:A Real-World WebAssembly Benchmark on Thursday July 05, 2018 @03:45PM (#17466207)
Check with --js-flags="--no-untrusted-code-mitigations", it should be about 10-13% faster. https://github.com/v8/v8/wiki/Untrusted-code-mitigations
Re:You can now run Linux apps on Chrome OS on Tuesday May 08, 2018 @05:56PM (#17025591)
It is interesting. Linux (Chrome OS) will allow you to run Linux applications.

And this whole set of applications belongs to which category? https://chromium.googlesource.com/chromiumos/overlays/chromi...

Especially this one - Glibc. https://chromium.googlesource.com/chromiumos/overlays/chromi...

Re:GCC 8.1 Released on Wednesday May 02, 2018 @10:32AM (#16977208)
Supports x86 processors without sse and mmx, example. https://en.wikipedia.org/wiki/Intel_Quark The google go compiler only supports x86 from pentium pro.
Re:Improved code caching on Tuesday April 24, 2018 @01:43PM (#16914768)
Initially, it seemed to be a temporary regression. Later that it may be related to Meltdown/Spectre mitigations. Currently, it is well-known to developers and remains patiently waiting for improvement. https://bugs.chromium.org/p/chromium/issues/detail?id=827497...
Re:Improved code caching on Tuesday April 24, 2018 @11:53AM (#16913662)
Everything is great. Only why from the introduction Ignition in Chrome 59 (2017-06-05) and resignation from V8 with Full-codegen, I have been recording terrible regression on bellard.org/jslinux. Since then (Chrome 58), each newer version is 3-4x slower.
It's pure madness. Still in 2012/13, Google maps operated on a 32MB RAM system (with desktop recording running in the background). https://drive.google.com/file/d/1xq4w2LD9ypv1zwv6oqPTciWvIDD...