Re: libprocstat(3): retrieve process command line args and environment

2013-01-25 Thread Stanislav Sedov
not had time to look into yet, though. -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: libprocstat(3): retrieve process command line args and environment

2013-01-22 Thread Stanislav Sedov
On Jan 22, 2013, at 1:48 PM, John Baldwin j...@freebsd.org wrote: Well, you could make procstat open a kvm handle in both cases (open a live handle in the procstat_open_sysctl() case). It just seems rather silly to be duplicating code in the two interfaces. More a question for Robert:

Re: gcc 4.2 miscompilation with -O2 -fno-omit-frame-pointer on amd64

2011-12-02 Thread Stanislav Sedov
. -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpuO922JsvHw.pgp Description: PGP signature

Re: MIPS toolchain

2011-09-08 Thread Stanislav Sedov
for building uboot or other bare-metal stuff. There're also packages for this. -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpAZTDGsBtJJ.pgp Description: PGP signature

Re: Capsicum project: Ideas needed

2011-09-08 Thread Stanislav Sedov
-trivial ASN.1 and GSSAPI decapsulation/encapsulation when processing packets and we saw a lot of vulenrabilities in the past in these areas. Unfortunately, Heimdal will be probably to large to break into compartments. -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-12 Thread Stanislav Sedov
On Fri, 12 Nov 2010 14:14:47 +0200 Andriy Gapon a...@freebsd.org mentioned: Just to let you know that I am eagerly awaiting for that to happen. Perhaps even could help with something if you'd need that. Review can certainly help.:-) Can I send you the patch? Thanks! -- Stanislav Sedov

Re: libkvm: consumers of kvm_getprocs for non-live kernels?

2010-11-11 Thread Stanislav Sedov
still need to commit the libprocstat itself, though. -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: envy24 driver broken

2010-07-23 Thread Stanislav Sedov
On Fri, 23 Jul 2010 18:51:10 + xorquew...@googlemail.com mentioned: On 2010-07-22 16:32:56, Stanislav Sedov wrote: Hi, xw! I have Audiophile 2496, and it works great for me including the mixer. Do you know where exactly these messages come from? Hi. It seems to be when /etc

Re: envy24 driver broken

2010-07-22 Thread Stanislav Sedov
come from? -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: About FreeBSD syscall usage

2009-10-22 Thread Stanislav Sedov
(M:N threading) was default threading library on FreeBSD versions prior to 7.0, and the default has changed to libthr (1:1 threading in FreeBSD 7). libkse was completely removed in FreeBSD 8, but it is still functional on FreeBSD 7.x. -- Stanislav Sedov ST4096-RIPE pgpRYNN2HYp1t.pgp Description

Re: How to profile the disk io performed through mmaps?

2009-07-29 Thread Stanislav Sedov
for mmapped writes? Yes, it should be possible to monitor files written to via mmapped region with EVFILT_VNODE kevents. Please note, however, that changes to mmapped region may be propagated to the files not immediately depending on the region attributes. -- Stanislav Sedov ST4096-RIPE

Re: How to profile the disk io performed through mmaps?

2009-07-29 Thread Stanislav Sedov
On Wed, 29 Jul 2009 09:49:12 -0700 Yuri y...@rawbw.com mentioned: Stanislav Sedov wrote: Yes, it should be possible to monitor files written to via mmapped region with EVFILT_VNODE kevents. Please note, however, that changes to mmapped region may be propagated to the files not immediately

Re: distributed scm+freebsd svn?

2009-07-27 Thread Stanislav Sedov
wrapper instead of login shell which allows execution of the limited set of commands. Today such kind of shell is already included into the distribution so there's no need to hack up your own version. -- Stanislav Sedov ST4096-RIPE pgp4Gu0KbYGcA.pgp Description: PGP signature

Re: compiling system binutils as cross tools

2009-05-21 Thread Stanislav Sedov
be avoided. You can also try using devel/cross-binutils to build cross-tools for x86_64-freebsd. Random people reported they're working fine. - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE- iEYEARECAAYFAkoVRK4ACgkQK/VZk+smlYGbjwCff1f6hJ+PAE4OSqPV7IIQi8kY 8iwAn2CcQ3H9D5Q+mZdern

Re: Installation from USB pen

2009-05-21 Thread Stanislav Sedov
by system image loads? Does it load kernel succesfully but cannot find root filesystem? - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE- iEYEARECAAYFAkoV2gEACgkQK/VZk+smlYHVqQCfb0lmeXbKdbk+Ktq1l2Dngz01 HEsAn1U5V1nnnyFs89Yvxo5xbjvIwzmY =gp18 -END PGP SIGNATURE- !DSPAM

Re: compiling system binutils as cross tools

2009-05-21 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 May 2009 17:44:42 +0100 xorquew...@googlemail.com mentioned: On 2009-05-21 16:10:18, Stanislav Sedov wrote: You can also try using devel/cross-binutils to build cross-tools for x86_64-freebsd. Random people reported they're working

Re: C99: Suggestions for style(9)

2009-05-17 Thread Stanislav Sedov
, so you don't have to study a piece of code for a long time before you understand how it works in general. By relaxing style(9) we're in danger of loosing this benefit. - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE- iEYEARECAAYFAkoP5WwACgkQK/VZk+smlYFocACfTzVHRpQb8H3tAeg97ljqn3bv

Re: C99: Suggestions for style(9)

2009-05-17 Thread Stanislav Sedov
or change it. Tools can be improved, people can't. By 'hunting for declarations' it usually meant that it is hard to find pieces of the code by looking into it, not that tools can't handle the task. - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE- iEYEARECAAYFAkoP500ACgkQK/VZk

Re: C99: Suggestions for style(9)

2009-05-17 Thread Stanislav Sedov
is stritcly described in ISO C99 standard, so there's a good point to enforcing strict-aliasing clear code in our kernel. On the other hand the big work should be done on clearing the existing code before any rule on this can be enforced. - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE

Re: C99: Suggestions for style(9)

2009-05-17 Thread Stanislav Sedov
void returns. -- Stanislav Sedov ST4096-RIPE !DSPAM:4a0fec8e994291872371064! ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: C99: Suggestions for style(9)

2009-05-17 Thread Stanislav Sedov
-use-chains, and as a side effect sometimes leads to better generated code. It is not sensible to check millions of lines of code whether a variables are used in different contexts within a function before this can added. -- Stanislav Sedov ST4096-RIPE !DSPAM:4a103589994292021119546

Re: ipfw uid rules for lo0 interface

2009-05-16 Thread Stanislav Sedov
, otherwise you should have been receiving a permission denied message. You can inspect what's binded on which ports/addresses by running `sockstat -4`. - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE- iEYEARECAAYFAkoOiWsACgkQK/VZk+smlYFcpACeMLylEJRGrP7w0ciiHqT+Xhzz

Re: building a gcc crosscompiler

2009-04-20 Thread Stanislav Sedov
does depend on math/libgmp4 . Yeah, it wants it (at least on my system). I will check if it can be replaced with the system libmp. -- Stanislav Sedov ST4096-RIPE !DSPAM:49ecaa8b967002118561090! ___ freebsd-hackers@freebsd.org mailing list http

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-20 Thread Stanislav Sedov
. And this is one really belongs to questions@ and not to hackers@ The other possible reason that you used the symbol undefined in kernel (e.g. called unexistent function). - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE- iEYEARECAAYFAkl2LeAACgkQK/VZk+smlYFLwgCfVxU28ltWAe66XcxkSzXtR+wA

Re: lzma compression/decompression in bsdtar/libarchive?

2008-11-26 Thread Stanislav Sedov
. - -- Stanislav Sedov ST4096-RIPE -BEGIN PGP SIGNATURE- iEYEARECAAYFAkktAxcACgkQK/VZk+smlYF8DQCfVraD3lSYoZNsPVeYf0tWj9Nr q5UAnjVWWhkSakJWq8K634Pap9hdYDRi =9XOq -END PGP SIGNATURE- ___ freebsd-hackers@freebsd.org mailing list http

Re: How can I add new binaries to the mfsroot image?

2008-11-17 Thread Stanislav Sedov
for building custom installation CDs. -- Stanislav Sedov ST4096-RIPE pgpua59y8DHtG.pgp Description: PGP signature

Re: Help with copytree code

2008-07-12 Thread Stanislav Sedov
along with some new features of my own. Hopefully, this will fix a long standing problem with copytree_*. Have you filled the PR so we could review/comment? -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org mailing list http

Re: AMD Geode LX crypto accelerator (glxsb)

2008-06-15 Thread Stanislav Sedov
think we don't need the netbsd porting information in AUTHORS section, also you missed a dot in the end of last sentence in HISTORY section. -- Stanislav Sedov ST4096-RIPE pgpJ6rr8tinjB.pgp Description: PGP signature

Re: Help with copytree code

2008-05-19 Thread Stanislav Sedov
-- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: My GSoC Intro...

2008-04-25 Thread Stanislav Sedov
as possible. And - to succeed, of course.. Congrats! And good luck in your work! -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: OpenBSD sdiff Question

2008-03-15 Thread Stanislav Sedov
just a part of an entire OS. I believe we might just abandone this switch. -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL

Re: find -lname and -ilname implemented

2008-02-27 Thread Stanislav Sedov
inconsistent. Because it makes it more compatible with existing de-facto standards. It costs us very little to do so. It costs extra complexity. A very important thing, though... -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org

Re: find -lname and -ilname implemented

2008-02-24 Thread Stanislav Sedov
a more clean and simple disigned system, perfect system, where good design - is the first, and everything another - the last. If we'll take the GNU way - what will be the reason for them to go for FreeBSD? -- Stanislav Sedov ST4096-RIPE ___ freebsd

Re: VM design doc?

2008-02-24 Thread Stanislav Sedov
, but AFAIK the main design principles of the VM subsystem remain. For further study I afraid you need to go for the source code (sys/vm and sys/kern). Also, McKusick book on FreeBSD, might be helpful too. -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers

Re: Examples of sysctl/sysctlbyname/sysctlnametomib?

2008-01-15 Thread Stanislav Sedov
number, and it'll differ from what sysctl displays. -- Stanislav Sedov ST4096-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-20 Thread Stanislav Sedov
and look what it's doing. -- Stanislav Sedov ST4096-RIPE pgpRVMyKn5Dg3.pgp Description: PGP signature

Re: where to start on kernel modules and NSS?

2007-07-03 Thread Stanislav Sedov
/en_US.ISO8859-1/articles/geom-class/kernelprog.html Also, this document can serve a very good introduction: http://caia.swin.edu.au/reports/070622A/CAIA-TR-070622A.pdf -- Stanislav Sedov ST4096-RIPE pgp3fuiROpdZ8.pgp Description: PGP signature

setegid bug

2007-06-07 Thread Stanislav Sedov
? Thanks a lot! -- Stanislav Sedov ST4096-RIPE pgp7eSCNytZaQ.pgp Description: PGP signature

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-13 Thread Stanislav Sedov
On Sat, 12 May 2007 16:26:53 +0200 Ivan Voras [EMAIL PROTECTED] mentioned: Stanislav Sedov wrote: I agree, that there's a lot of ready tools for parsing xml, but why not use much simple language that can be parsed by sed or awk in few lines? Because of mindshare. Young people know SQL

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-13 Thread Stanislav Sedov
need it for a such simple task. Probably, we can add transactions to our bdb 1.85, it seems not very hard to me. -- Stanislav Sedov ST4096-RIPE pgp8E7XiibFji.pgp Description: PGP signature

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-13 Thread Stanislav Sedov
before, having such a complex product in base will involve a lot of pain. Furthermore, SQLite have a lot of features we don't need for our task. Probably, we should just sit, document features we need and implement required logic in e.g. bdb if not yet. -- Stanislav Sedov ST4096-RIPE

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-12 Thread Stanislav Sedov
much fewer. -- Stanislav Sedov ST4096-RIPE pgpZu3qUtFFBh.pgp Description: PGP signature

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-12 Thread Stanislav Sedov
, that there's a lot of ready tools for parsing xml, but why not use much simple language that can be parsed by sed or awk in few lines? Will not require dependecies at all and much simplier (read better). The entire FreeBSD's ideology is to be as simple as possible but powerful. -- Stanislav Sedov ST4096

Re: pmcstat and squid

2007-04-13 Thread Stanislav Sedov
Hi! Have the problem been solved somehow? I'm experiencing the same problems on 6-STABLE with squid. Apache seems to be OK. -- Stanislav Sedov ST4096-RIPE pgprJiUUGvNZm.pgp Description: PGP signature

Re: Fast SCSI RAID controller

2007-02-03 Thread Stanislav Sedov
On Fri, 2 Feb 2007 14:22:44 -0800 Josef Grosch [EMAIL PROTECTED] mentioned: Can anyone suggest a fast SCSI RAID controller for FreeBSD 6.2 ? Our vendor is having trouble with the latest Adaptec LSI Logic produce very good SCSI controllers that work just fine with amr (4). -- Stanislav Sedov

Re: Local mirror

2007-01-29 Thread Stanislav Sedov
PKG_SITES directive of portupgrade. Note, that you should mirror packages for this as well -- Stanislav Sedov ST4096-RIPE pgp8hslLTrB1p.pgp Description: PGP signature

Re: Wiring umass unit numbers

2006-09-01 Thread Stanislav Sedov
/dev/label/MYFLASH entry whenever you flash is plugged. Unfortunately, this technique can't be used with floppy, for glabel information is stored on the media itself, that is you need to label every floppy separately. Hope that helps. -- Stanislav Sedov MBSD labs, Inc. [EMAIL

Re: exception handling in kernel code

2006-08-23 Thread Stanislav Sedov
to userland and it garantee no kernel faults at all. It reports MSR reading errors to userland too. Furthermore, porting to other BSD isn't a goal. -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru

Re: Aqcuiring full path to running process from outside the kernel

2006-08-23 Thread Stanislav Sedov
by Sergey, is much more correct. -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru If the facts don't fit the theory, change the facts. -- A. Einstein

Re: Path transformation

2006-08-19 Thread Stanislav Sedov
On Sat, 19 Aug 2006 13:27:49 +0100 mal content [EMAIL PROTECTED] mentioned: Hello. Is there any code in the tree that does general path transformation or 'optimisation'? realpath(3) -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http

Re: exception handling in kernel code

2006-08-16 Thread Stanislav Sedov
(success/failure) will be very apprecated. Thank to all for help. -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru If the facts don't fit the theory, change the facts

exception handling in kernel code

2006-08-14 Thread Stanislav Sedov
hooks into trap.c. So, the question is: how can one recover after exception in kernel code? AFAIK, linux build special exception table from various __ex_table sections to allow placing recover code into .fixup section. Does any such mechanism exists in freebsd? Thanks! -- Stanislav Sedov

Re: exception handling in kernel code

2006-08-14 Thread Stanislav Sedov
user-level code to read MSRs (Model specific registers) (like linux's /dev/cpu/msr). It's required for some programs like x86info. As long as not all MSRs documented and reading/writing unexistent MSR leads to GP fault, I need to recover in that case. -- Stanislav Sedov MBSD labs, Inc

Re: exception handling in kernel code

2006-08-14 Thread Stanislav Sedov
config registers that don't exist and cause a fault... Do you know some examples to look at? The problem is that i can't make modifications in trap.c or anywhere else in src tree as such driver isn't likely to become a part of FreeBSD kernel. Thanks! -- Stanislav Sedov MBSD labs, Inc

make(1) is broken?

2006-08-10 Thread Stanislav Sedov
! -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru If the facts don't fit the theory, change the facts. -- A. Einstein

Re: make(1) is broken?

2006-08-10 Thread Stanislav Sedov
rather safely for it's well documented in make(1). According to this manpage, it's not a side effect - .for loops always unrolled and variable substitutions occurs. Thanks for all answers! -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru

Re: Any success with bacula and DVD

2006-07-27 Thread Stanislav Sedov
for this question. -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru If the facts don't fit the theory, change the facts. -- A. Einstein

Re: Simple question about mmap() system call

2006-06-23 Thread Stanislav Sedov
of my code. I'm sure I'm overlooking something very basic and stupid, but can't find what exactly. munmap(2)? -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru

Re: mmap() vs. character special file

2006-06-23 Thread Stanislav Sedov
for disk devices involves complicated VM intercations, since you cannot simply return pointer to physical memory. Actually, implementing mmap, IMHO, doesn't worth efforts to do this. -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru

Re: no core file handler recognizes format

2006-05-13 Thread Stanislav Sedov
. -- - Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] If the facts don't fit the theory, change the facts. -- A. Einstein

Re: no core file handler recognizes format

2006-05-12 Thread Stanislav Sedov
format by default. -- - Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] If the facts don't fit the theory, change the facts. -- A. Einstein

Re: Exiting Xorg panics Core Duo laptop

2006-05-09 Thread Stanislav Sedov
, Stanislav Sedov. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: packages problem

2006-05-09 Thread Stanislav Sedov
. Best regards, Stanislav Sedov. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

anti-briteforce PAM module

2005-10-16 Thread Stanislav Sedov
to me. It'll be very helpful for me. Home page of the module: http://mbsd.msk.ru/pam_af.html. Thanks in advance, Stanislav Sedov. ___ freebsd

Re: journaling fs and large mailbox format

2005-09-30 Thread Stanislav Sedov
On Thu, Sep 29, 2005 at 04:11:29AM +0300, Alin-Adrian Anton wrote: Dear Hackers, First of all thank you for your time and attention. I am in the position to implement a large-scale mail server and I will never go for anything else but FreeBSD (fixation?). It

Re: dev_lock() question

2005-09-29 Thread Stanislav Sedov
On Thu, Sep 29, 2005 at 06:55:38PM +0200, Divacky Roman wrote: Hi, dev_lock() looks this way: void dev_lock(void) { if (!mtx_initialized(devmtx)) mtx_init(devmtx, cdev, NULL, MTX_DEF); mtx_lock(devmtx); } I wonder why is the mtx_initialized checking

Re: FreeBSD 6.0 Beta #3 - IDE Problems? (Intel / ICH6 based laptop)

2005-09-06 Thread Stanislav Sedov
On Mon, Sep 05, 2005 at 01:41:00PM +0100, Karl Pielorz wrote: Hi All, I recently tried to boot the FreeBSD 6.0 Beta #3 on my laptop, and ran into a problem. The hard drive controller probes as: atapci0: Intel ICH6 SATA150 contoller port

Re: FreeBSD 6.0 Beta #3 - IDE Problems? (Intel / ICH6 based laptop)

2005-09-06 Thread Stanislav Sedov
On Mon, Sep 05, 2005 at 04:50:21PM +0100, Karl Pielorz wrote: --On 05 September 2005 19:31 +0400 Stanislav Sedov [EMAIL PROTECTED] wrote: Try to disable ACPI - it can helps. There may be some problems with ACPI on your laptop - BIOS update sometime helps. But first try to disable ACPI

Re: rc sequencing issue / mountcritremote

2005-09-03 Thread Stanislav Sedov
On Sat, Sep 03, 2005 at 12:20:41PM -0400, Tuc at T-B-O-H wrote: The problem I'm having is that when it attempts to remotely mount the NFS filesystem I need, there are no support programs running, namely (I THINK) : /etc/rc.d/rpcbind /etc/rc.d/nfsclient /etc/rc.d/mountd