Bernardini (company)
The Bernardini S/A Industria e Comercio (Bernardini Industrial and Commerce Company), of Sao Paulo, Brazil, was a safe manufacturer which operated from 1912 to 1992. During its later years it branched out into vehicle production.
Products
- Bernardini X1A1 Light Tank
- Bernardini MB-3 Tamoyo tank
- Bernardini Xingu BT25 and BT50 (4 x 4) light vehicles (Brazil), Jeep like vehicles and are based closely on the Toyota Bandeirante
gollark: I mean, I really only need to change the implementations, or specifically the specific implementation which happens to run on my laptop.
gollark: Well, I intend for it to work differently, so obviously glibc or something is wrong. Maybe I can muck with the program counter somehow.
gollark: * syscalls and whatever
gollark: So I should work out some way to live-patch the kernel to increase the amount of signal-safe functions?
gollark: ```c#include <stdio.h>#include <signal.h>#include <string.h>#include <stdlib.h>#include <sys/mman.h>#include <unistd.h>static void handler(int sig, siginfo_t *info, void *literally_bee) { printf("oh bee oh apio segfault %08x\n", info->si_addr); int ps = getpagesize(); long ad = (long)info->si_addr; ad = ad - (ad % ps); mmap((void*)ad, 0x10000, PROT_NONE, MAP_ANONYMOUS|MAP_FIXED, -1, 0);}int main() { struct sigaction sa; sigemptyset(&sa.sa_mask); sa.sa_flags = SA_NODEFER; sa.sa_sigaction = handler; sigaction(SIGSEGV, &sa, NULL); *(int*)NULL = -3; printf("thing done\n"); return 0;}```
References
- D. Hanel "The Defence Industry of Latin America" Military Technology 3/2010 ISSN 0722-3226
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.