Re: [PATCH] Linux-like /proc/swaps for linprocfs

2011-07-28 Thread Kostik Belousov
On Fri, Jul 29, 2011 at 01:15:59AM +0200, Robert Millan wrote: > Please consider this patch, it implements Linux-like /proc/swaps for > linprocfs. > > E.g. > > $ cat /proc/swaps > FilenameTypeSizeUsed > Priority > /dev/zvol/dimoni/swap

Re: [PATCH] Improve utf-8 -> cp437 console map

2011-07-28 Thread Robert Millan
Submitted as PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=159280 2011/7/10 Robert Millan : > This patch adds a few improvements to utf-8 -> cp436 console map > (mostly with Catalan characters in mind, but it probably benefits > other languages). > > The new mappings are as follows: > > ▮ -> █ >

Re: [PATCH] __FreeBSD_cc_version in

2011-07-28 Thread Robert Millan
Submitted as PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=159279 -- Robert Millan ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@fre

Re: [PATCH] FreeBSD compiler extensions

2011-07-28 Thread Robert Millan
Submitted as PR so that it's not forgotten: http://www.freebsd.org/cgi/query-pr.cgi?pr=159278 -- Robert Millan ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "free

[PATCH] Linux-like /proc/swaps for linprocfs

2011-07-28 Thread Robert Millan
Please consider this patch, it implements Linux-like /proc/swaps for linprocfs. E.g. $ cat /proc/swaps FilenameTypeSizeUsedPriority /dev/zvol/dimoni/swap unknown 2097152 0 -1 -- Robert Millan --- a/sys/compat/li

Re: A style proposal for referring to upper-level directories in Makefiles

2011-07-28 Thread Garrett Cooper
On Thu, Jul 28, 2011 at 11:47 AM, Mikhail T. wrote: > The most common method to refer to the upper directory in Makefile is as > ${.CURDIR}/.. > > I'd like to propose we begin using ${.CURDIR:H} instead. For one this speeds > up the filesystem-traversal for the invoked tool. And, perhaps more > im

Re: A style proposal for referring to upper-level directories in Makefiles

2011-07-28 Thread Chris Rees
On 28 July 2011 19:47, Mikhail T. wrote: > The most common method to refer to the upper directory in Makefile is as > ${.CURDIR}/.. > > I'd like to propose we begin using ${.CURDIR:H} instead. For one this speeds > up the filesystem-traversal for the invoked tool. And, perhaps more > importantly,

A style proposal for referring to upper-level directories in Makefiles

2011-07-28 Thread Mikhail T.
The most common method to refer to the upper directory in Makefile is as ${.CURDIR}/.. I'd like to propose we begin using ${.CURDIR:H} instead. For one this speeds up the filesystem-traversal for the invoked tool. And, perhaps more importantly, it makes the various build-logs look nicer (and b

MAC Framework, Socket information

2011-07-28 Thread s
Hi, I need to get some info about the socket being created by the user. What I want to do is log all TCP/UDP outgoing connections that are being made. I *need* to get the local and remote address, as well as the local and remote port. I managed to get all of the remote data, but this is usele

Re: Finding symlink information in MAC Framework

2011-07-28 Thread jan . grant
On Wed, 27 Jul 2011, per...@pluto.rain.com wrote: > s wrote: > > > ... I am trying to compare the owner of the symlink to the owner > > of what the symlink points to ... At first I was trying to check > > wheter some user is trying to create such a symlink ... > > I've always considered the "ow

Re: HTT vs SMT in x86 SMP topology reporting

2011-07-28 Thread Robert Watson
On Tue, 26 Jul 2011, Andriy Gapon wrote: Can anybody explain to me why our _x86_ SMP topology discovery and reporting code sometimes reports "HTT" and sometimes "SMT"? As in FreeBSD/SMP: %d package(s) x %d core(s) x %d HTT threads vs FreeBSD/SMP: %d package(s) x %d core(s) x %d SMT threads

Re: Add setacl system call?

2011-07-28 Thread Robert Watson
On Mon, 25 Jul 2011, exorcistkiller wrote: Another question while I'm reading the code. In ufs_acl.c, in static int ufs_getacl_posix1e(struct vop_getacl_args *ap), you commented: As part of the ACL is stored in the inode, and the rest in an EA, assemble both into a final ACL product. From wha