HN user

raimue

2,609 karma

https://hachyderm.io/@raimue

https://twitter.com/raimue

https://github.com/raimue

https://raimue.blog/

Posts57
Comments301
View on HN
seclists.org 2d ago

OOB write in UDP MSG_SPLICE_PAGES fragment-boundary handling in Linux kernel

raimue
3pts0
github.com 2y ago

Show HN: Flaticron – mail notifications for pending Flatpak updates

raimue
1pts0
blogs.windows.com 2y ago

A new Copilot key to kick off the year of AI-powered Windows PCs

raimue
47pts85
forrestheller.com 2y ago

Apollo 11 vs. USB-C Chargers (2020)

raimue
502pts202
mm.icann.org 2y ago

Antarctic research base Vostok local time

raimue
8pts0
raimue.blog 2y ago

A story of Docker, QEMU, and memfd_create()

raimue
32pts3
microsoft.gcs-web.com 2y ago

Microsoft SEC 8-K: IRS is seeking an additional tax payment of $29B

raimue
215pts308
neverpanic.de 3y ago

Open Source in a Headunit

raimue
1pts0
www.wired.com 3y ago

Twitter Had a Plan to Fix Social Media. Will Elon Musk Follow It?

raimue
5pts0
www.openssh.com 4y ago

OpenSSH 9.0

raimue
75pts1
www.politico.eu 4y ago

EU negotiators agree new rules to rein in tech giants

raimue
309pts341
github.com 4y ago

OpenSSH: After years of forewarning, disable RSA/SHA-1

raimue
2pts0
aerofoils.de 5y ago

The Audi e-tron Foil by Aerofoils

raimue
1pts0
bugzilla.mozilla.org 5y ago

Let's Encrypt: certificate lifetimes 90 days plus one second

raimue
3pts0
www.internetsociety.org 5y ago

World IPv6 Day

raimue
10pts5
www.bleepingcomputer.com 5y ago

Researcher adds his fake package to Microsoft Azure SDK releases list

raimue
2pts0
accidentallyquadratic.tumblr.com 5y ago

Accidentally Quadratic

raimue
2pts0
www.rxtx.tech 5y ago

Building RxDock using Meson build system

raimue
1pts0
blogs.oracle.com 5y ago

Multiprocess QEMU: Breaking up is hard to do

raimue
1pts0
www.indiegogo.com 5y ago

Pro1 X Smartphone with hardware keyboard, designed to run LineageOS or Ubuntu

raimue
4pts0
twitter.com 5y ago

BleedingTooth: Linux Bluetooth Zero-Click Remote Code Execution

raimue
25pts5
venturebeat.com 5y ago

Blizzard cofounder launches new gaming endeavor Dreamhaven

raimue
381pts155
software.intel.com 5y ago

Intel Trust Domain Extensions (TDX)

raimue
1pts0
software.intel.com 6y ago

Deep Dive: Special Register Buffer Data Sampling

raimue
2pts0
hg.mozilla.org 6y ago

Firefox 78: try HTTPS if HTTP connections are rejected

raimue
1pts0
bugzilla.mozilla.org 6y ago

Firefox: Fall back to HTTPS in URL fixup

raimue
3pts0
blogs.gnome.org 6y ago

Introducing Jcat

raimue
3pts0
www.fcvl.net 7y ago

macOS X GateKeeper Bypass

raimue
194pts48
idiosyncratic-ruby.com 7y ago

210 Ways to Rome: All Ruby syntaxes that represent the R string literal

raimue
2pts0
raimue.blog 7y ago

We value your privacy now, but maybe not later

raimue
239pts103

Now we are running in circles. As you see in the git commit, the compile check was added because the existance of linux/landlock.h alone was not enough to check that the feature can be used.

This header defines the data types for the Linux kernel interface, but not how the syscall landlock_create_ruleset(2) will be issued. That is provided by libc either as a separate wrapper function (does not exist in glibc) or the implementation needs to use syscall(SYS_landlock_create_ruleset, ...), with the constant also being provided by libc. That is how it works for all syscalls and you won't be able to change this.

Read the code of the check again. It mostly checks that the required SYS_* constants are defined to be able to use the syscalls. You can compile this on a system that does not have landlock enabled in the running kernel, but the libc (which imports the kernel system call interface) has to provide the syscall numbers.

The question is whether you can expect this format to stay stable and reproducible across git versions. Remember the fallout from git 2.38 when the output of 'git archive' changed. Although for this backup use case it would just mean the next backup with a new format would make a full copy once.

Back then, your suggestions were niche languages (and some still are) and are still not popular for embedded systems or network equipment. Large runtimes or huge static binaries are not suitable due to the memory and storage constraints.

You have to consider the surrounding ecosystem. Those interested in such languages are not necessarily those interested in contributing solutions to the problem space. Any project attempting to use such a language in OpenWrt would very likely not have survived until today.

I think the confusion comes from the documentation where ssh(1) says that the command "is executed on the remote host instead of a login shell.". Which is true from the perspective of ssh(1) in the sense of the protocol. The client has no control over what the server does with that string.

However, sshd(8) clearly documents that it will always execute the login shell, even when a command has been passed. ("All commands are run under the user's login shell as specified in the system password database.")

Subsystems open secondary channels to communicate separately from stdin/stdout of the remote command. I used the X11 forwarding before to run a remote command with sudo without getting the password prompt interfering with the protocol: https://raimue.blog/2016/09/25/how-to-run-rsync-on-remote-ho...

The author missed that sshd will always execute the user's shell and pass it the command with arguments as a `-c` argument. This means that the given command string will always be parsed by the remote shell. This is required to restrict users to certain commands with special shells like scponly or rbash.

When you keep in mind that the given command string will be parsed twice, first by your local shell and then again by the remote shell, it becomes clear why a running a remote ssh command behaves like this.

It would be easier to intercept the open() for the /proc/cpuinfo file with a LD_PRELOAD library. Of course that would still be detectable by the benchmark. You could also use a modified libc to spoof it. Then their only way out would be static linking.

You could even just modify the kernel to report arbitrary strings in /proc/cpuinfo.

So they use the CPUID instruction instead. The CPUID instruction can be trapped to throw a SIGSEGV instead of returning real values on x86 with arch_prctl(ARCH_SET_CPUID, 0). So an injected SIGSEGV handler could then spoof it.

But even then, you could also trap the CPUID instruction in the kernel, and spoof it from there, which would be even harder to detect from user space.

In the end, the benchmark program always needs to trust the kernel. Is it really worth trying to detect spoofing?

QEMU 6.0 5 years ago

TSO is Total Store Ordering, which refers to the memory model of x86_64. For Rosetta 2, Apple will switch the M1 processor's memory model when emulating x86_64.

Joyce Project 5 years ago

The submission URL can be found on the main website by navigating in the menu to "The Site" > "About the Project".

I am sorry, but you are wrong. MacPorts will not go through configure/build/install for all ports, only those for which no binary archive can be made available. As others have already explained, this happens when license restrictions do not allow redistribution of a binary.

With your example of ffmpeg, you can check yourself that ffmpeg-4.3.2_0+gpl2.darwin_18.x86_64.tbz2 exists as a binary archive and will be used on a standard install on macOS 10.14. MacPorts will definitely not build ffmpeg from source by default.

I recommend you test again with something simpler than ffmpeg, for example bzip2 or less.

I don't know much about WSL, but the instructions for this do not look right. Isn't WSL usually just a Linux distribution, so you should also use the package manager?

If you just run ./configure && make && sudo make install, sudo will be installed to /usr/local as prefix. Doesn't this mean the unpatched binary at /usr/bin/sudoedit will still be accessible?

Apple processes the source code before releasing it as open source, like excluding some source files and even stripping specific #ifdef sections. This can be implied from shell scripts that are part of the tarballs.

Such an approach would be way more complicated if the open source release included version control history. These code drops already always come months after the macOS releases.

Bash 5.1 6 years ago

To be more specific, zsh was already included before, but the default shell for new accounts is now zsh instead of bash. Apple still ships /bin/bash version 3.2 with macOS.

This seems a lot similar to hardware switches for Wi-Fi and Bluetooth devices, which are handled by rfkill. Of course, this adds support for microphone and webcam now, but wouldn't it make sense to extend rfkill? To me the purpose of these hardware switches seems close enough to be handled by a generic framework.

Regarding to the remapping for Y, I also only memorized y$, c$, and d$ and they seem more natural to use for me.

Therefore, I remap D to delete the whole line, but do not put it into any register. This allows me to cut a line with dd, while I can throw away a few other lines with D to clean up around the target location, before finally pasting with p.

nmap D "_dd vmap D "_dd

The save command also accepts the commit message on command line only instead of opening an editor.

I do not understand how people can live with only a single line for the commit message. For a new feature, I need to provide some details what is added and how it can be used. For a bugfix, a single line is rarely enough to describe the problem, what you changed, and why this change solves the problem.

Writing good commit messages is an essential part of using a version control system with a team. When trying to make the git interface easier, this should not be dumbed down. I would rather expect the tool to provide assistance with the usual format of a short subject and a body for a longer explanation.

Even with the full text I do not understand what I am seeing. The comparison to previous projects did not help because I do not know them either.

It appears to be a different rendering of the Street View data that will be loaded from Google servers. What is the purpose of this site? Just to show how Street View works internally?