Determine LD_PRELOAD'ed symbols. (UPDATE)

2005-04-16 Thread Marcin
Hello Hackers!, My first post got stuck waiting for moderator, and after some investigation I'd like to ask a bit more substantial question on the topic anyway: With program A ptrace'ing program B which runs with LD_PRELOAD'ed library libC.so, how can i find from program A where functions from

Determine location of LD_PRELOAD'ed shared libraries/functions.

2005-04-17 Thread Marcin
Hello Hackers, I'd like to find locations of functions exported by shared lib loaded into the running ptrace'd process via LD_PRELOAD. I want do determine this from tracing process. For shared libraries linked with a program i can just open the program file and search for relocation sections,

Re: boot menu option to disable graphics mode

2012-06-09 Thread Marcin Wisnicki
On Thu, 07 Jun 2012 12:57:41 +0300, Gleb Kurtsou wrote: > On (07/06/2012 11:56), Andriy Gapon wrote: >> A user doesn't have to select the option unless he needs to. A "simple >> user" can just reboot without selecting the option to get back his X. A >> user doesn't have to learn anything about the

Re: Examples of sysctl/sysctlbyname/sysctlnametomib?

2008-01-14 Thread Marcin Cieslak
c/usr.sbin/powerd/powerd.c. Does sysctl_all() of src/sbin/sysctl/sysctl.c does that what you need? Mightt be easier to iterate a whole subtree and skipping things you don't need. --Marcin ___ freebsd-hackers@freebsd.org mailing list http://lis

Re: Is Elf formatdocumented anywhere?

2008-01-15 Thread Marcin Cieslak
ls here too. For introductory material, please see the Linkers and Loaders book: http://www.iecc.com/linker/ --Marcin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: zfs + uma

2010-09-18 Thread Marcin Cieslak
er stuff in case of kernel addresses. //Marcin ___ 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: Locale woes.

2008-07-31 Thread Marcin Wisnicki
On Wed, 30 Jul 2008 23:50:13 +0200, Václav Haisman wrote: > Václav Haisman wrote, On 30.7.2008 20:40: >> Hi, >> I have some problem with locales on FreeBSD 6.3. The attached test case >> fails with uncaught std::runtime_error exception: > [...] > I am able to run the test case successfuly when I c

Re: lzma compression/decompression in bsdtar/libarchive?

2008-11-26 Thread Marcin Wisnicki
On Tue, 25 Nov 2008 19:02:02 +0100, Ivan Voras wrote: > > How useful would LZMA be without supporting the .7z file format? > Probably not at all, since there isn't a gzip-like file format or > wrapper that supports LZMA. tar.lzma is quite popular ___

Re: make pkg_install suite reusable, please

2010-04-11 Thread Marcin Wisnicki
On Sun, 11 Apr 2010 12:37:27 +0100, Robert Watson wrote: > On Fri, 9 Apr 2010, Alexander Churanov wrote: > >> 2010/4/9 Leinier Cruz Salfran >> >>> i want to ask you one thing: can you make the 'pkg_install' suite >>> reusable .. means install 'libinstall.a' as a shared object in order >>> to mak

Re: VIA RAID controller problem

2005-11-16 Thread Marcin Simonides
rk fine (I haven't tried). -- Marcin Simonides ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

VIA 6420 RAID 0 problem

2005-11-21 Thread Marcin Simonides
posting to freebsd-questions). Today, after the change in kernel, I have removed FreeBSD partitions from the first slice and recreated them (with some differences). Nothing wrong happened. Could this be connected with the bug in VIA ata raid driver? Or maybe it was just a coin

proxy device

2006-06-11 Thread Marcin Cylke
Hi I'd like to write a proxy device for another usb device. I'd like it to be able to create a device only when an usb dev is attached, then destroy it when detached. What should I do? Where can I find information about this matter? Marcin _

interfacing uhid devs from kernel module

2006-06-15 Thread Marcin Cylke
Hello Is it possible to use functions from libusbhid in kernel module? It would really ease some things for me, but I realize it is a userland library. Still, is there some way to do this? Bye Marcin Cylke ___ freebsd-hackers@freebsd.org mailing list

Re: interfacing uhid devs from kernel module

2006-06-15 Thread Marcin Cylke
On 6/15/06, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: What functions do you need? Have you looked at uhid.c under /sys/dev/usb ? I would like to use the whole infrastructure: struct hid_item hid_usage_page() hid_usage_in_page() hid_init() hid_get_report_desc() Bye ___

Tracking FreeBSD performance over time - what hackers want?

2005-06-13 Thread Marcin Koziej
Hello Hackers! I have an idea which could be used to track FreeBSD performance and regression testing. Please take a look and give Your opinion on how usefull that would be for the FreeBSD project. The basis for this system would be hijacking certain functions execution with injected code. H

Advice on psm driver interface ?

2005-07-16 Thread Marcin Koziej
Hello Hackers, I'm playing with the psm driver and a symantics touchpad - I'd like to send the touch pressure along with x/y coordinates/buttons and then chenge the behaviour of mouse in moused using the pressure. What would be better: 1. Extend the struct mousestatus with additional pressur

Re: compiling the kernel faster

2005-10-27 Thread Marcin Jessa
ke modifications > > thanks for any suggestions Read the handbook - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Next time remember to post to questions@ when asking begginer questions. Cheers Marcin ___ freebsd-

Re: I'm resigning from FreeBSD

2003-12-27 Thread Marcin Dalecki
Lucas Holt wrote: Funny, I see people switching to *BSD from Linux all the time. I've "converted" quite a few people at Western Michigan where i'm a student. Most people think of FreeBSD as the "new" linux. You have to think to use it, as opposed to the redhat idiot wizards. Personally I just

Re: Power consumption in desktop computers

2003-12-29 Thread Marcin Dalecki
Erich Dollansky wrote: The actual power can go down to less than 10% if the CPU is idle. Are these business-grade ones maybe equipped with mobile P-4s? No, it is just the fact that modern CPU are most of the time just idle. Which is bullshit becouse most of the CPUs those days don't run desktop

Re: Assembler coding help needed.

2004-01-11 Thread Marcin Dalecki
Martin Nilsson wrote: I'm trying to find out why I can't boot 5.2 from USB CDROM on Supermicro motherboards. (I have an old Gateway P3 that can!). I've found out that that only 0x20 of 0x4c sectors of the loader are read in and it therfor traps when executed. (read is only called once). My las

Re: Future of RAIDFrame and Vinum (was: Future of RAIDFrame)

2004-01-16 Thread Marcin Dalecki
Mark Linimon wrote: But, in the real world of software engineering, He Who Breaketh It, Must Fixeth It. Your mileage may vary. Yes it vaires. In the real world He Who Reaketh It, will hire someone who known what he is doing to fix the problem... ___ [EMA

Re: Hi!Dear FreeBSD!

2003-02-01 Thread Marcin Dalecki
writing applications. Help me join some simple project,I would work hardly!Thank you very much! You could go hunt for the russian translation of the design of the UNIX operating system. It is freely available on the net as a bunch of plain text files. -- Marcin Dalecki To Unsubscribe: send

Re: Retrieving disk geometry

2003-06-03 Thread Marcin Dalecki
Andrew wrote: Hi, Under FreeBSD 4.x the ioctl DIOCGDINFO could be used to retrieve the number of cylinders, heads and sectors of a drive. This could be called on /dev/ad0 for example. Under FreeBSD 5 it seems to produce "Inappropriate ioctl for device" unless you call it on an individual partition

Re: What RFCs are supported by FreeBSD

2003-06-04 Thread Marcin Dalecki
David Schultz wrote: On Mon, Jun 02, 2003, Terry Lambert wrote: "Nickolay A. Kritsky" wrote: Does anybody know, which RFCs are followed by FreeBSD's core network drivers (like IP,TCP,routing,UDP,ICMP drivers)? All of them. I'm sorry Terry, but I must be missing something. Can you please point

Re: nscd for freebsd

2003-06-19 Thread Marcin Dalecki
Michael Bushkov wrote: Good day! Can anyone tell me if there is an implementation of nscd for FreeBSD? If there is no, who's currently working on it? You can use bind in caching only mode. A far suprerior solution to the problem at hand. So there is no need for "takoje malenkoje gawno" as nscd is u

Re: nscd for freebsd

2003-06-19 Thread Marcin Dalecki
Jan Grant wrote: On Thu, 19 Jun 2003, Marcin Dalecki wrote: Michael Bushkov wrote: Good day! Can anyone tell me if there is an implementation of nscd for FreeBSD? If there is no, who's currently working on it? You can use bind in caching only mode. A far suprerior solution to the probl

Re: libedit and g++

2003-07-13 Thread Marcin Dalecki
Priit Piipuu wrote: Hi! There seems to be a problem using libedit from C++. Small test case: cat test.c #include #include int main(void) { EditLine *ed; ed = el_init("foo", stdin, stdout, stderr); el_end(ed); return 0; } gcc -ledit -ltermcap -o test test.c g++ -ledit -ltermcap -o test

Re: Missing system call in linux emulation

2003-08-14 Thread Marcin Dalecki
Marcel Moolenaar wrote: On Tue, Aug 12, 2003 at 05:42:51PM +0100, Steven Hartland wrote: Any one know how I can track down what function is missing and hence look at fixing it? In the linux kernel source tree, look in arch/i386/kernel/entry.S. There you'll find all the syscall entry points. Curr

Re: Ugly Huge BSD Monster

2003-09-02 Thread Marcin Dalecki
Peter Jeremy wrote: On Mon, Sep 01, 2003 at 12:38:34PM -0700, Greg Shenaut wrote: Has it ever been suggested to create one or more "dependencies" ports (or more to the point, packages)? I think it might be pretty useful to have something like that so that all of the "prerequisites" can be install

Re: Hyperthreading slowdown

2003-10-04 Thread Marcin Dalecki
Richard Coleman wrote: Kris Kennaway wrote: On Sat, Oct 04, 2003 at 03:20:03PM -0400, Richard Coleman wrote: Kris Kennaway wrote: On Sat, Oct 04, 2003 at 04:39:03PM +0200, Mikulas Patocka wrote: I installed FreeBSD 4.9RC1 on P4 3GHz with hyperthreading and I see drastic slowdown when kernel wit

Re: Darwin/OSX Bluetooth code

2003-10-17 Thread Marcin Dalecki
Peter Pentchev wrote: You've done some great work on BlueTooth. IMHO, it would be a mistake to try to un-NetGraph it; there have been lots of rumours about people porting the NetGraph framework to other OS's, and if BlueTooth support will provide yet one more reason for the need to do this, so be

System crash 4 times/hour.

2002-08-27 Thread Marcin Jurczuk
ng orher CPUs -- cut here -- Any sugestions ? Best regards... Marcin Jurczuk -> [EMAIL PROTECTED] Network/System Administartor. Bialystok Cable Television. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

PS/2 Mice device - synaptics touch pad.

2002-11-29 Thread Marcin Dalecki
ion. What should I do about it: 1. Just provide the trivial psmwrite() augmenting kernel level function, thus presering the higher level driver for XFree? 2. Move everything in to the kernel space?! (The driver isn't exactly small due to many features like border detection and so on...) --

Re: PS/2 Mice device - synaptics touch pad.

2002-11-29 Thread Marcin Dalecki
Daniel O'Connor wrote: On Sat, 2002-11-30 at 02:54, Marcin Dalecki wrote: Looking further I discovered that the writing method is filled with a global nowrite() function. What should I do about it: 1. Just provide the trivial psmwrite() augmenting kernel level function, thus preserin

Re: Framebuffer howto?

2002-12-29 Thread Marcin Dalecki
Hiten Pandya wrote: --- "Pedro F. Giffuni" <[EMAIL PROTECTED]> wrote: > Actually I suggested on private email to use GGI. GGI > can work on top of VGL or Linux's framebuffer, and > when KGI becomes available it will work fine. Hmm, someone said earlier on in this thread, that FreeBSD does not

Synaptics touchpad extendid support.

2003-01-03 Thread Marcin Dalecki
Have fun! -- Marcin Dalecki diff -urN src-old/sys/isa/psm.c src/sys/isa/psm.c --- src-old/sys/isa/psm.c Tue Dec 31 00:35:19 2002 +++ src/sys/isa/psm.c Tue Dec 31 01:05:35 2002 @@ -277,6 +277,7 @@ static probefunc_t enable_4dplus; static probefunc_t enable_mmanplus; static p

Re: Synaptics touchpad extendid support.

2003-01-05 Thread Marcin Dalecki
Rahul Siddharthan wrote: Marcin Dalecki wrote: Here is my first cut at support for the Synaptics touchpads, which are commonly used on notebooks. Contrary to the default "Windows installation mode" those devices come up at boot, this is enabling full support for all buttons pres

Re: Synaptics touchpad extendid support.

2003-01-05 Thread Marcin Dalecki
Rahul Siddharthan wrote: Marcin Dalecki wrote: Here is my first cut at support for the Synaptics touchpads, 2. The pad has 4 buttons; left and right work as before. In between, there are a small up and down button. Now the up button acts as the middle button (button 3?) -- ie I can paste

syscons: SC_MOUSE_CHAR value rationale

2000-01-05 Thread Marcin Cieslak
ected: (from /usr/share/syscons/font) iso-8859-2-8x16.fnt iso02-8x8.fnt koi8-r-8x8.fnt iso02-8x14.fnt koi8-r-8x14.fnt koi8-rb-8x16.fnt iso02-8x16.fnt koi8-r-8x16.fnt koi8-rc-8x16.fnt Will changing it to 0x08 break anything? -- <

Re: fbsdboot.exe can't load elf kernels (flash cards off topic)

2000-01-12 Thread Marcin Cieslak
re not meant to be written too often, so I belive we won't put a real filesystem on them. Just a kernel and mfsroot image perhaps? [Added -hackers and please, remove -stable] -- << Marcin Cieslak // [EMAIL PROTECTED] >> --

inet_* functions in kernel?

2010-07-12 Thread Bartosz Marcin Kojak
Hi. Currently I'm writing a kernel module using MAC Framework to control binding to local IP addresses (kind of mac_portacl variation) and I need some advice. I want to be able to write rules for module through sysctl (rule will contain IP addresses in human-readable format, e.g. "uid: