]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
9 years agoexec(2): fix prototypes
ftrvxmtrx [Mon, 8 Jun 2015 10:59:51 +0000 (12:59 +0200)]
exec(2): fix prototypes

9 years agomerge
cinap_lenrek [Mon, 8 Jun 2015 00:49:02 +0000 (02:49 +0200)]
merge

9 years agoaux/vga: disable nvidiascale() as it broke modeset on kenjis card
cinap_lenrek [Mon, 8 Jun 2015 00:43:49 +0000 (02:43 +0200)]
aux/vga: disable nvidiascale() as it broke modeset on kenjis card

this code needs revision, need a list of cards where this actually
works.

9 years ago/lib/face: add updated addresses for quanstro, bwc, steve.simon (thanks, erik)
stanley lieber [Sun, 7 Jun 2015 19:12:06 +0000 (15:12 -0400)]
/lib/face: add updated addresses for quanstro, bwc, steve.simon (thanks, erik)

9 years agodevfs: remove useless ~OTRUNC mask for openmode
cinap_lenrek [Sun, 7 Jun 2015 15:41:43 +0000 (17:41 +0200)]
devfs: remove useless ~OTRUNC mask for openmode

9 years agozynq: fix /dev/pl
cinap_lenrek [Sun, 7 Jun 2015 15:33:31 +0000 (17:33 +0200)]
zynq: fix /dev/pl

prevent double sleep():
callers to sleep() need to be serialized as there can only
be one process sleeping at a time. plrlock and plwlock do
this.

wait for dma to complete in plwrite():
we have to wait for the dma to complete before touching
plbuf again.

maintain COPEN flag in archopen()/archclose():
when open fails because it was in use, clear the COPEN
flag, so archclose() wont screw stuff up.

9 years agofortunes: Turning off comments.
stanley lieber [Sat, 6 Jun 2015 22:20:48 +0000 (18:20 -0400)]
fortunes: Turning off comments.

9 years agosysinfo: update -p for sysinfo.9front.org
stanley lieber [Sat, 6 Jun 2015 22:18:38 +0000 (18:18 -0400)]
sysinfo: update -p for sysinfo.9front.org

9 years agosysupdate: change source repo to https://code.9front.org/hg/plan9front
cinap_lenrek [Sat, 6 Jun 2015 22:11:47 +0000 (00:11 +0200)]
sysupdate: change source repo to https://code.9front.org/hg/plan9front

code.google.com is shutting down, the new repository is on code.9front.org.

9 years agolibsec/tlshand: implement client side ECDHE (many thanks to pr!)
cinap_lenrek [Sun, 7 Jun 2015 20:14:01 +0000 (22:14 +0200)]
libsec/tlshand: implement client side ECDHE (many thanks to pr!)

9 years agolibsec/ecc: fix memory leak (free() vs mpfree())
cinap_lenrek [Sun, 7 Jun 2015 20:12:46 +0000 (22:12 +0200)]
libsec/ecc: fix memory leak (free() vs mpfree())

9 years agoprep(8): edisk also adds a EFI system partition (esp) when not already exists.
cinap_lenrek [Sat, 6 Jun 2015 00:13:01 +0000 (02:13 +0200)]
prep(8): edisk also adds a EFI system partition (esp) when not already exists.

9 years agoinst: provide gpt/mbr choice when disk is blank, format esp
cinap_lenrek [Sat, 6 Jun 2015 00:00:51 +0000 (02:00 +0200)]
inst: provide gpt/mbr choice when disk is blank, format esp

9 years agodisk/edisk: create esp partition in addition to plan9 partition in auto mode
cinap_lenrek [Fri, 5 Jun 2015 19:57:08 +0000 (21:57 +0200)]
disk/edisk: create esp partition in addition to plan9 partition in auto mode

9 years ago9boot: look for plan9.ini in all filesystems accessible to efi to find plan9 partition
cinap_lenrek [Fri, 5 Jun 2015 03:09:22 +0000 (05:09 +0200)]
9boot: look for plan9.ini in all filesystems accessible to efi to find plan9 partition

try the handle buffer in reverse order looking for plan9.ini
to find plan9 partition (9fat). when that fails, we'll default
to the first handle which should be the esp.

9 years agoape: define long long limits
mischief [Fri, 5 Jun 2015 00:16:23 +0000 (17:16 -0700)]
ape: define long long limits

9 years agodossrv: maintain file creation date/time on disk, fsinfo sector can be 0 (disabled)
cinap_lenrek [Thu, 4 Jun 2015 02:34:08 +0000 (04:34 +0200)]
dossrv: maintain file creation date/time on disk, fsinfo sector can be 0 (disabled)

9 years agodisk/format: create Fatinfo sector for fat32
cinap_lenrek [Thu, 4 Jun 2015 01:58:03 +0000 (03:58 +0200)]
disk/format: create Fatinfo sector for fat32

9 years agodisk/edisk: fix blank mode
cinap_lenrek [Wed, 3 Jun 2015 21:19:13 +0000 (23:19 +0200)]
disk/edisk: fix blank mode

there where two problems with blank (-b flag):

we did not update the backup header when there was already a valid
backup header in place. we always want to initialize a new backup header
in blank mode!

we now also check the backup header matches the primary (or the other
way arround depending on which header could be read), reporting any
mismatches and restoring the backup from the data of the primary.

the protective mbr needs to start at sector 1 not 0 (apparently, this
matters for ovmf).

9 years agorc-httpd: cleanup cgi handler
cinap_lenrek [Tue, 2 Jun 2015 14:56:19 +0000 (16:56 +0200)]
rc-httpd: cleanup cgi handler

- avoid silly stats and checks for $cgi_dir, just use status
  from builtin cd.

- log proper http status code from the cgi script

9 years agoauthsrv: use plan9 key for http authentication
cinap_lenrek [Mon, 1 Jun 2015 23:15:43 +0000 (01:15 +0200)]
authsrv: use plan9 key for http authentication

in addition to /sys/lib/httppasswords, allow http authentication
to use the plan9 password, which can be changed by the user.

9 years agohgweb.cgi: +x
cinap_lenrek [Tue, 2 Jun 2015 21:44:39 +0000 (23:44 +0200)]
hgweb.cgi: +x

9 years agohgweb.cgi: take REPO_ROOT and REPO_NAME from env, so can be used out of the box
cinap_lenrek [Tue, 2 Jun 2015 21:41:16 +0000 (23:41 +0200)]
hgweb.cgi: take REPO_ROOT and REPO_NAME from env, so can be used out of the box

9 years agorc-httpd: various fixes
cinap_lenrek [Tue, 2 Jun 2015 21:15:02 +0000 (23:15 +0200)]
rc-httpd: various fixes

care has to be taken when splitting the host into SERVER_NAME and SERVER_PORT,
as ipv6 uses : in the host part. also do it consistently, the host can be set
thru the request uri and the host header.

set REMOTE_USER to empty string to prevent accidents.

we do not handle chunked transfer encoding, just assuming the client doesnt
do keep alive is wrong. we have to reject the post when the client tries
chunked post with 411 "Length required" error.

9 years agodevtls: ignore UnrecogniedName (112) alert message (for SNI)
cinap_lenrek [Sun, 31 May 2015 23:32:57 +0000 (01:32 +0200)]
devtls: ignore UnrecogniedName (112) alert message (for SNI)

9 years ago9fs: handle all the dos filesystems in one case, add esp handler
cinap_lenrek [Sun, 31 May 2015 17:48:44 +0000 (19:48 +0200)]
9fs: handle all the dos filesystems in one case, add esp handler

9 years agodisk/fdisk: learn about EFI system partition (type 0xEF), honor protective mbr (type...
cinap_lenrek [Sun, 31 May 2015 17:30:38 +0000 (19:30 +0200)]
disk/fdisk: learn about EFI system partition (type 0xEF), honor protective mbr (type 0xEE)

efi systems may use traditional dos partition table
with an esp (efi system partition). otherwise, honor
the protective mbr partition (0xEE) and exit when we
encounter it.

9 years agoinst/bootplan9: skip mbr installation and active partition switching when we have...
cinap_lenrek [Sun, 31 May 2015 14:41:46 +0000 (16:41 +0200)]
inst/bootplan9: skip mbr installation and active partition switching when we have no plan9 dos partition

on efi systems, there is no plan9 partition in the dos partition table
that could be marked active and the mbr should be left alone.

9 years agoprep(8): document disk/edisk
cinap_lenrek [Sun, 31 May 2015 12:15:49 +0000 (14:15 +0200)]
prep(8): document disk/edisk

9 years agointegrate disk/edisk with diskparts, bootfs and installer (gpt support)
cinap_lenrek [Sun, 31 May 2015 11:06:18 +0000 (13:06 +0200)]
integrate disk/edisk with diskparts, bootfs and installer (gpt support)

9 years agolibdisk: error handling, sanity checks
cinap_lenrek [Sun, 31 May 2015 10:58:13 +0000 (12:58 +0200)]
libdisk: error handling, sanity checks

- make sure disk file is an actual file and not a directory, log or empty file
- sanity check: file has to be at least one sector to be a disk
- simplify error handling using freedisk()

9 years agodisk/edisk: little improvements
cinap_lenrek [Sun, 31 May 2015 09:19:22 +0000 (11:19 +0200)]
disk/edisk: little improvements

- make UU() shorter by using long long constant to encode node field
- store Flag as a mask, not as a shift count
- put the attributes before the name in cmdsum() as it is fixed length

9 years agotest: use libc.h constants for access() mode (thanks qrstuv)
cinap_lenrek [Sun, 31 May 2015 07:37:59 +0000 (09:37 +0200)]
test: use libc.h constants for access() mode (thanks qrstuv)

9 years agoio.h: fis comment PciSID (alphapc, kw, mtx, teg2) (thanks qeed!)
cinap_lenrek [Sat, 30 May 2015 14:50:02 +0000 (16:50 +0200)]
io.h: fis comment PciSID (alphapc, kw, mtx, teg2) (thanks qeed!)

9 years agopc/io.h: fix comment for PciSID
cinap_lenrek [Sat, 30 May 2015 14:45:02 +0000 (16:45 +0200)]
pc/io.h: fix comment for PciSID

9 years agodisk/edisk: fix usage (was disk/gdisk)
cinap_lenrek [Sat, 30 May 2015 01:36:58 +0000 (03:36 +0200)]
disk/edisk: fix usage (was disk/gdisk)

9 years agodisk/edisk: gpt partition table editor (no manpage, work in progress)
cinap_lenrek [Sat, 30 May 2015 01:22:08 +0000 (03:22 +0200)]
disk/edisk: gpt partition table editor (no manpage, work in progress)

9 years agodisk/partfs: adding identical partition is no-op
cinap_lenrek [Sat, 30 May 2015 20:37:46 +0000 (22:37 +0200)]
disk/partfs: adding identical partition is no-op

9 years agodisk/fdisk: fix help text
cinap_lenrek [Sat, 30 May 2015 20:26:18 +0000 (22:26 +0200)]
disk/fdisk: fix help text

9 years agonusb/disk: adding identical partition is a no-op
cinap_lenrek [Sat, 30 May 2015 20:24:55 +0000 (22:24 +0200)]
nusb/disk: adding identical partition is a no-op

9 years agocputime(2): fix prototype for cycles() (thanks qrstuv)
cinap_lenrek [Thu, 28 May 2015 16:11:45 +0000 (18:11 +0200)]
cputime(2): fix prototype for cycles() (thanks qrstuv)

9 years agotcs: fix swaped alias mapping gb <-> gb2312
cinap_lenrek [Thu, 28 May 2015 14:39:04 +0000 (16:39 +0200)]
tcs: fix swaped alias mapping gb <-> gb2312

9 years agouhtml: check if document is valid utf8 even with charset specified
cinap_lenrek [Thu, 28 May 2015 14:37:55 +0000 (16:37 +0200)]
uhtml: check if document is valid utf8 even with charset specified

often, documents specify charsets but are really utf-8 encoded.
we now try to decode as utf-8 and only if that fails assume
the charset specified in the document.

9 years agolibsec: cleanup x509 and tlshand
cinap_lenrek [Wed, 27 May 2015 22:31:36 +0000 (00:31 +0200)]
libsec: cleanup x509 and tlshand

- add overflow checks for newbytes(), newbits(), newints()
- remove suspicious nil check from estrdup()
- remove useless nil checks before free

9 years agoape: include <sys/types.h> in <sys/wait.h> for pid_t (thanks jens staal)
cinap_lenrek [Wed, 27 May 2015 19:48:42 +0000 (21:48 +0200)]
ape: include <sys/types.h> in <sys/wait.h> for pid_t (thanks jens staal)

9 years agolibsec/x509: fix verify_signature(), digest_certinfo(), X509dump()
cinap_lenrek [Wed, 27 May 2015 17:52:06 +0000 (19:52 +0200)]
libsec/x509: fix verify_signature(), digest_certinfo(), X509dump()

make digest_certinfo() return the digest length, otherwise
return -1 as an error and handle it in the callers.

pass expected digest length to verify_signature() and
check digest length from certificate! make sure we wont
run off the buffer.

fix newlines in error prints of X509dump().

9 years agolibsec/x509: use SHA2-256 digest algorithm instead of MD5
cinap_lenrek [Wed, 27 May 2015 16:35:37 +0000 (18:35 +0200)]
libsec/x509: use SHA2-256 digest algorithm instead of MD5

this implements SHA2 (224, 256, 384, 512) signature algorithms and
uses sha256WithRSAEncryption for X509req() and X509gen() instead
of oid_md5WithRSAEncryption.

9 years agopci: map pci bars for devices with base class codes (ccrb) 0x00 and 0x0D-0x11 (thanks...
cinap_lenrek [Tue, 26 May 2015 22:23:13 +0000 (00:23 +0200)]
pci: map pci bars for devices with base class codes (ccrb) 0x00 and 0x0D-0x11 (thanks qeed)

there are a few more device base class codes defined 0x0D-0x11, and
qemu appears to use base class code 0x00 for some of its fake
devices.

9 years agocc: set unspecified elements to zero in local variable initializers
cinap_lenrek [Tue, 26 May 2015 17:25:06 +0000 (19:25 +0200)]
cc: set unspecified elements to zero in local variable initializers

the compiler used to skip zero initialization when initializer
list was given not covering unspecified elements. now we zero
all non explicitely initialized elements. for example:

typedef struct F F;
struct F
{
int a;
int b;
int c;
};

void
main(void)
{
char a[16] = { 1, 2, 3 }; /* a[3..15] initialized to zero */
F f = { .b = 1 }; /* f.a, f.c initialized to zero */
}

9 years agorootstub: do not create pkg directories
stanley lieber [Mon, 25 May 2015 19:04:30 +0000 (15:04 -0400)]
rootstub: do not create pkg directories

9 years agoremove pkg(1): we regret the error
stanley lieber [Mon, 25 May 2015 19:03:44 +0000 (15:03 -0400)]
remove pkg(1): we regret the error

9 years agothread(2): fix prototype for threadint() and threadkillgrp() (thanks qwx!)
cinap_lenrek [Mon, 25 May 2015 11:03:45 +0000 (13:03 +0200)]
thread(2): fix prototype for threadint() and threadkillgrp() (thanks qwx!)

9 years agocc: handle unaligned data in = {0} local initializer
cinap_lenrek [Sun, 24 May 2015 23:57:18 +0000 (01:57 +0200)]
cc: handle unaligned data in = {0} local initializer

the emited code that initializes local variables did not handle
unaligned data causing stack corruption, affecting code like:

void main(void)
{
char a[9] = {0};
}

this change will emit code that does byte stores for the unaligned
bytes and also handles small objects (<= 16 bytes) without branches.

9 years agocdproto: /sys/log/httpd should be a directory
mischief [Thu, 21 May 2015 01:25:53 +0000 (18:25 -0700)]
cdproto: /sys/log/httpd should be a directory

9 years agorevert httpd log file goof
mischief [Thu, 21 May 2015 01:16:54 +0000 (18:16 -0700)]
revert httpd log file goof

9 years agowebfs: send servername in tls client hello (SNI)
cinap_lenrek [Thu, 21 May 2015 00:28:06 +0000 (02:28 +0200)]
webfs: send servername in tls client hello (SNI)

9 years agolibsec: implement tlsClient support for RFC6066 server name identification (SNI)
cinap_lenrek [Thu, 21 May 2015 00:26:57 +0000 (02:26 +0200)]
libsec: implement tlsClient support for RFC6066 server name identification (SNI)

tlsClient() now can optionally send the server_name in the ClientHello
message by setting the TLSconn.serverName. This is required for some
https sites.

9 years agoip/httpd: fix syslog file
mischief [Wed, 20 May 2015 22:38:56 +0000 (15:38 -0700)]
ip/httpd: fix syslog file

9 years agolibhttpd: declare hvprint
mischief [Wed, 20 May 2015 22:09:34 +0000 (15:09 -0700)]
libhttpd: declare hvprint

9 years agoetherigbe: spi eeprom support (thanks echoline)
cinap_lenrek [Wed, 20 May 2015 07:49:27 +0000 (09:49 +0200)]
etherigbe: spi eeprom support (thanks echoline)

9 years agolibdraw: don't loop forever when getting eof on /dev/cons in keyboard ioproc
cinap_lenrek [Tue, 19 May 2015 18:04:47 +0000 (20:04 +0200)]
libdraw: don't loop forever when getting eof on /dev/cons in keyboard ioproc

9 years agoaux/vga: dont use /proc/$pid/mem to access vga bios
cinap_lenrek [Tue, 19 May 2015 12:02:02 +0000 (14:02 +0200)]
aux/vga: dont use /proc/$pid/mem to access vga bios

using /proc/$pid/mem to access vga bios is not portable and crashes
sgi machines when aux/vga is run. instead, try /dev/realmodemem
first (provided by realemu), then #v/vgabios.

9 years agomerge
cinap_lenrek [Tue, 19 May 2015 10:40:50 +0000 (12:40 +0200)]
merge

9 years agotar, tarfs: implement longname support
cinap_lenrek [Tue, 19 May 2015 10:39:45 +0000 (12:39 +0200)]
tar, tarfs: implement longname support

this allows extracting tar archives that use longnames extension,
where the real filename is stored in a special entry with
linkflag == 'L' before the file entry. also skip longlink entries
with linkflag == 'K'.

9 years agofaces: fix fuck-up (thanks, qrstuv)
stanley lieber [Mon, 18 May 2015 22:41:06 +0000 (18:41 -0400)]
faces: fix fuck-up (thanks, qrstuv)

9 years agofaces: add cs.dartmouth.edu!doug (thanks, qrstuv)
stanley lieber [Mon, 18 May 2015 22:35:58 +0000 (18:35 -0400)]
faces: add cs.dartmouth.edu!doug (thanks, qrstuv)

9 years agousbd: set device info for control file (see usb(3), thanks qeed)
cinap_lenrek [Sun, 17 May 2015 23:26:29 +0000 (01:26 +0200)]
usbd: set device info for control file (see usb(3), thanks qeed)

9 years agomerge
cinap_lenrek [Sun, 17 May 2015 22:32:19 +0000 (00:32 +0200)]
merge

9 years agocdproto: /sys/log/pop3
cinap_lenrek [Sun, 17 May 2015 22:29:12 +0000 (00:29 +0200)]
cdproto: /sys/log/pop3

9 years agocolors(1), who(1): add missing SOURCE entries
stanley lieber [Sun, 17 May 2015 16:53:05 +0000 (12:53 -0400)]
colors(1), who(1): add missing SOURCE entries

9 years agolibc: use Runemax instead of hardcoded 0x65536 for fmtchar check (thanks qrstuv)
cinap_lenrek [Sun, 17 May 2015 05:02:44 +0000 (07:02 +0200)]
libc: use Runemax instead of hardcoded 0x65536 for fmtchar check (thanks qrstuv)

9 years agokbdfs: Runemax is inclusive.
cinap_lenrek [Sun, 17 May 2015 04:59:09 +0000 (06:59 +0200)]
kbdfs: Runemax is inclusive.

9 years agofortunes: What's wrong with the obvious?
stanley lieber [Sat, 16 May 2015 01:08:37 +0000 (21:08 -0400)]
fortunes: What's wrong with the obvious?

9 years agogunzip: the extra length field (XLEN) is two bytes instead of one
cinap_lenrek [Fri, 15 May 2015 05:53:22 +0000 (07:53 +0200)]
gunzip: the extra length field (XLEN) is two bytes instead of one

example file:
https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50f.tgz

9 years agorc-httpd/handlers/dir-index: plan 9 files may be chmod +a:
stanley lieber [Fri, 15 May 2015 01:04:51 +0000 (21:04 -0400)]
rc-httpd/handlers/dir-index: plan 9 files may be chmod +a:

          The mode printed under the -l option contains 11 characters,
          interpreted as follows: the first character is

          d    if the entry is a directory;

          a    if the entry is an append-only file;

          -    if the entry is a plain file.

Therefore, handle them in automatically generated directory listings.

9 years agotcp: fix loopback slowness issue / set tcb->mss for incoming connections (thanks...
cinap_lenrek [Thu, 14 May 2015 19:09:12 +0000 (21:09 +0200)]
tcp: fix loopback slowness issue / set tcb->mss for incoming connections (thanks David du Colombier)

David du Colombier wrote:
> The slowness issue only appears on the loopback, because
> it provides a 16384 MTU.
>
> There is an old bug in the Plan 9 TCP stack, were the TCP
> MSS doesn't take account the MTU for incoming connections.
>
> I originally fixed this issue in January 2015 for the Plan 9
> port on Google Compute Engine. On GCE, there is an unusual
> 1460 MTU.
>
> The Plan 9 TCP stack defines a default 1460 MSS corresponding
> to a 1500 MTU. Then, the MSS is fixed according to the MTU
> for outgoing connections, but not incoming connections.
>
> On GCE, this issue leads to IP fragmentation, but GCE didn't
> handle IP fragmentation properly, so the connections
> were dropped.
>
> On the loopback medium, I suppose this is the opposite issue.
> Since the TCP stack didn't fix the MSS in the incoming
> connection, the programs sent multiple small 1500 bytes
> IP packets instead of large 16384 IP packets, but I don't
> know why it leads to such a slowdown.

9 years agohget: work arround apache Content-Encoding: gzip for Content-Type: application/x...
cinap_lenrek [Thu, 14 May 2015 12:12:28 +0000 (14:12 +0200)]
hget: work arround apache Content-Encoding: gzip for Content-Type: application/x-gzip bug

apache sends Content-Encoding: gzip header for Content-Type: application/x-gzip
causing hget to decompress tgz files.

from the w3c:

The Content-Encoding entity-header field is used as a modifier to the media-type.
When presented, its value indicates what additional content codings have been applied
to the entity-body, and thus what decoding mechanisms must be applied in order to
obtail the media-type referenced by the Conent-Type header field. Content-Encoding
is primarily used to allow a document to be compressed without losing the
identity of its underlying media type.

this is clearly silly, as the file is already compressed, and decompressing it
will not yield the indicated Content-type: application/x-gzip, but a tarball.

examples:

http://zlib.net/zlib-1.2.8.tar.gz
https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50f.tgz

9 years agofixed by fuck up
Matthew Veety [Wed, 13 May 2015 04:15:18 +0000 (00:15 -0400)]
fixed by fuck up

9 years agoremoved ukill.
Matthew Veety [Wed, 13 May 2015 04:11:59 +0000 (00:11 -0400)]
removed ukill.

9 years agoAdded ukill(1): Kills all processes started by a user
Matthew Veety [Wed, 13 May 2015 22:48:46 +0000 (18:48 -0400)]
Added ukill(1): Kills all processes started by a user

9 years agoboot/zynq: use ./boothead.$cputype to invoke helper
cinap_lenrek [Wed, 13 May 2015 02:22:21 +0000 (04:22 +0200)]
boot/zynq: use ./boothead.$cputype to invoke helper

9 years agoboot/zynq: add jtagload utility
cinap_lenrek [Wed, 13 May 2015 02:12:49 +0000 (04:12 +0200)]
boot/zynq: add jtagload utility

9 years agoboot/zynq: implement sdmmc boot (fat)
cinap_lenrek [Tue, 12 May 2015 23:07:35 +0000 (01:07 +0200)]
boot/zynq: implement sdmmc boot (fat)

9 years agofortunes: Feature requests will be ignored.
stanley lieber [Mon, 11 May 2015 15:52:44 +0000 (11:52 -0400)]
fortunes: Feature requests will be ignored.

9 years agoemmc/pmmc: make all symbols static
cinap_lenrek [Mon, 11 May 2015 03:27:05 +0000 (05:27 +0200)]
emmc/pmmc: make all symbols static

9 years agokernel: state errstr.h dependency for proc.acid target (fixes acid kinit() on cleaned...
cinap_lenrek [Mon, 11 May 2015 03:09:31 +0000 (05:09 +0200)]
kernel: state errstr.h dependency for proc.acid target (fixes acid kinit() on cleaned kernel source tree)

9 years agonusb/serial: recognize aijuboard jtag interface
cinap_lenrek [Mon, 11 May 2015 00:34:54 +0000 (02:34 +0200)]
nusb/serial: recognize aijuboard jtag interface

9 years agowebfs: fix proxy authentication
cinap_lenrek [Sun, 10 May 2015 05:46:53 +0000 (07:46 +0200)]
webfs: fix proxy authentication

9 years agorealemu: ignore access to CMOS/RTC address/data registers
cinap_lenrek [Sat, 9 May 2015 05:50:05 +0000 (07:50 +0200)]
realemu: ignore access to CMOS/RTC address/data registers

the kernel wont allow access to i/o ports 0x70/0x71, so
ignore the access. reads return 0xFF. this fixes vesa on
lenovo e540.

9 years agopasswd(1): passwd no longer needs to be run on a terminal; netkey is more stubborn.
stanley lieber [Sun, 3 May 2015 21:37:54 +0000 (17:37 -0400)]
passwd(1): passwd no longer needs to be run on a terminal; netkey is more stubborn.

9 years agoaudio(1): explain mp3enc wants raw data in the opposite byte order to /dev/audio...
stanley lieber [Fri, 1 May 2015 18:03:29 +0000 (14:03 -0400)]
audio(1): explain mp3enc wants raw data in the opposite byte order to /dev/audio (thanks, eekee)

9 years agoaudio(1): fix example
stanley lieber [Fri, 1 May 2015 16:05:30 +0000 (12:05 -0400)]
audio(1): fix example

9 years agopass Ureg* argument to note handler in R0 register on arm
cinap_lenrek [Thu, 30 Apr 2015 14:29:40 +0000 (16:29 +0200)]
pass Ureg* argument to note handler in R0 register on arm

userspace note handlers, like any function, expect ther
first argument in R0 register on arm.

9 years agolibsec: remove aesCTRencrypt()/aesCTRdecrypt() (thanks mischief and qrstuv)
cinap_lenrek [Wed, 29 Apr 2015 00:58:10 +0000 (02:58 +0200)]
libsec: remove aesCTRencrypt()/aesCTRdecrypt() (thanks mischief and qrstuv)

as mischief and qrstuv point out, these functions are not very usefull
and are even implemented wrong (incrementCTR()), so deleting the code.

9 years agosam: don't make scroll-wheel-up change focus (thanks clsmith)
cinap_lenrek [Tue, 28 Apr 2015 17:32:21 +0000 (19:32 +0200)]
sam: don't make scroll-wheel-up change focus (thanks clsmith)

9 years agosam: prevent array overflow with multiple -i and -a arguments (thanks clsmith)
cinap_lenrek [Tue, 28 Apr 2015 17:30:52 +0000 (19:30 +0200)]
sam: prevent array overflow with multiple -i and -a arguments (thanks clsmith)

9 years agoetheriwl: make rxon() static (thanks aap)
cinap_lenrek [Mon, 27 Apr 2015 19:32:17 +0000 (21:32 +0200)]
etheriwl: make rxon() static (thanks aap)

9 years agoetheriwl: check the bluetooth co-existance errors (thanks qeed)
cinap_lenrek [Sun, 26 Apr 2015 16:02:49 +0000 (18:02 +0200)]
etheriwl: check the bluetooth co-existance errors (thanks qeed)

9 years agoetheriwl: support for Centrino Wireless-N 2230 from freebsd driver (thanks qeed)
cinap_lenrek [Fri, 24 Apr 2015 02:13:19 +0000 (04:13 +0200)]
etheriwl: support for Centrino Wireless-N 2230 from freebsd driver (thanks qeed)

big thanks to qeed for porting support for Wireless-N 2230 from
freebsd driver!

9 years agobzfs: handle erealloc(..., 0)
cinap_lenrek [Thu, 23 Apr 2015 16:40:00 +0000 (18:40 +0200)]
bzfs: handle erealloc(..., 0)