summaryrefslogtreecommitdiff
path: root/etc/etc.loongson
AgeCommit message (Collapse)Author
2022-01-07regenJonathan Gray
2022-01-07stop creating old drm device nodesJonathan Gray
2022-01-06stop chowning old drm device nodesJonathan Gray
2022-01-04- add LDAPJason McIntyre
- capitalise RADIUS when referring to the protocol - remove tis from raf czlonka ok sthen ajacoutot
2021-11-11Regen after switch(4) removalClaudio Jeker
2021-11-11/dev/switch[0-4] is no longer needed.Claudio Jeker
2021-04-25Bump pbuild stacksize to 8M.mortimer
Addresses a stack exhaustion issue with llvm11 and a small number of ports. ok kettenis@
2021-04-02syncTheo de Raadt
2021-04-02don't put ptys onto the ramdisk mediaTheo de Raadt
from miod
2021-02-12syncJonathan Gray
2021-02-12create /dev/ drm nodes with the same names as linuxJonathan Gray
This was proposed by Emil Velikov to simplify libdrm and will remove the need for some patches in ports. /dev/drm0 -> /dev/dri/card0 /dev/drmR128 -> /dev/dri/renderD128 The previous names will remain for a period of time and will later be removed. Major and minor numbers remain the same. libdrm will not be changed to use the new names until known privsep and sandbox use has been updated to allow the new names. ok deraadt@
2021-01-23syncTheo de Raadt
2021-01-23introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.thfr
This includes ujoy_hid_is_collection() to work around limitations of hid_is_collection() until this can be combined without fallout. input, testing with 8bitdo controller, and ok brynet@ PS4 controller testing, fix for hid_is_collection, and ok mglocker@
2021-01-07add a xenodm login class and bump openfiles to 512 to avoid running outRobert Nagy
of file descriptors while running a busy desktop the xenodm login class expands the records from the daemon login class ok aja@, deraadt@, kettenis@, sthen@
2020-07-06regen after kstat additionDavid Gwynne
2020-07-06wire up kstat(4).David Gwynne
it's only accessible to root:wheel. ok deraadt@
2020-05-17Change install images called *.fs to *.img. These are UFS filesystem images,Theo de Raadt
but additionally have a bootblock in the first 8K (since UFS does not use that space). There are some UEFI direct-from-internet bootloaders that require the name *.img. So this makes things more convenient for those, while keeping it consistant in all architectures. ok kettenis beck kn
2020-04-24regenAlexandre Ratchov
2020-04-24Bump audio devices count to 4Alexandre Ratchov
ok deraadt
2020-04-18regenAlexandre Ratchov
2020-03-12grow limits a bit because clang is a pig.Theo de Raadt
2020-02-28oops some snapshot tests fell inTheo de Raadt
2020-02-28syncTheo de Raadt
2020-01-23regen after adding pppacDavid Gwynne
2020-01-23wire up pppac(4).David Gwynne
with help from claudio@
2020-01-21regenMartin Pieuchot
2020-01-21Add /dev/dtMartin Pieuchot
2019-12-17syncReyk Floeter
2019-12-17Add fido(4), a HID driver for FIDO/U2F security keysReyk Floeter
While FIDO/U2F keys were already supported by the generic uhid(4) driver, this driver adds the first step to tighten the security of FIDO/U2F access. Specifically, users don't need read/write access to all USB/HID devices anymore and the driver also improves integration with pledge(2) and unveil(2): It is pledge-friendly because it doesn't require any ioctls to discover the device and unveil-friendly because it uses a single /dev/fido/* directory for its device nodes. It also allows to support FIDO/U2F in firefox without further weakening the "sandbox" of the browser. Firefox does not have a proper privsep design and many operations, such as U2F access, are handled directly by the main process. This means that the browser's "fat" main process needs direct read/write access to all USB HID devices, at least on other operating systems. With fido(4) we can support security keys in Firefox under OpenBSD without such a compromise. With this change, libfido2 stops using the ioctl to query the device vendor/product and just assumes "OpenBSD" "fido(4)" instead. The ioctl is still supported but there was no benefit in obtaining the vendor product or name; it also allows to use libfido2 under pledge. With feedback from deraadt@ and many others OK kettenis@ djm@ and jmc@ for the manpage bits
2019-12-14syncTheo de Raadt
2019-11-05Add a default priority of 5 for user _pbuild, this should help keeping systemsolene
responsive during packages compilation, especially on slower machines. feedback welcome from people building ports discussed with deraadt@
2019-10-18Bump datasize-cur for pbuild on mips64, to make room for modernity.Visa Hankala
OK deraadt@
2019-09-15Add ttyC4 to lost of devices to change when logging in on ttyC0 (and inMark Kettenis
some cases also the serial console) such that X can use it as its VT when running without root privileges. ok jsg@, matthieu@
2019-06-11regenJoshua Stein
2019-06-02spelling/grammar fixes; from larry hynesJason McIntyre
2019-05-12Add first drm render node to list of devices to change when logging inJonathan Gray
on ttyC0. While here add drm0 to loongson and add the complete set of wscons and drm devices to arm64. ok kettenis@
2019-04-14syncJonathan Gray
2018-08-31syncJoshua Stein
2018-07-28syncAlexandre Ratchov
2017-11-14syncChristian Weisgerber
2017-10-16syncChristian Weisgerber
2017-08-16crank memory limitsTheo de Raadt
2017-05-21regenVisa Hankala
2017-05-21Enable radeondrm(4) on loongson to get accelerated graphicsVisa Hankala
with the RS780E chipset. OK kettenis@, jsg@
2017-04-04cp -p the bootblocks to RELEASEDIR; ok tbTheo de Raadt
2017-03-02Add a new sysctl machdep.lidaction. The sysctl works as follows:Martin Natano
machdep.lidaction=0 # do nothing machdep.lidaction=1 # suspend machdep.lidaction=2 # hibernate lidsuspend is just an alias for lidaction, so if you change one, the other one will have the same value. The plan is to remove machdep.lidsuspend eventually when people have upgraded their /ets/sysctl.conf. discussed with deraadt, who came up with the new MIB name no objections mlarkin ok stsp halex jcs
2017-02-06List openfiles-max explicitly in default /etc/login.conf files. Otherwise,Stuart Henderson
raising openfiles-cur above the implicit -max value (1024 on at least the common arch) results in the setting not being applied at all. Earlier version OK tom@ danj@ ajacoutot@ benno@ krw@ beck@, suggestion about openfiles= from millert@ - changes in this version are to use 1024 for -max rather than 512 to avoid changing the existing hard limit, and just use openfiles= for bgpd/unbound where max and cur are the same value.
2016-12-16Provide the "machdep.lidsuspend" sysctl on Loongson.Frederic Cambus
OK visa@
2016-09-11syncTheo de Raadt
2016-09-11syncTheo de Raadt