tty buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I am not exactly sure if I can even ask a question correctly but let me try.
Right now, I am trying to save a process that are running and is
attached to a certain tty.
My intention is to save all the necessary information so that I can
migrate a process to different machine.
So basically I have saved all the necessary information of tty that a
process is attached so that when I begin a process, I can restore all
the values.
Yet, I have not been able to save buffer that is attached to tty and I
wanted to know which field in tty contains a buffer, if there is any.
For now, I looked at the kernel code and it seems to me that either
'struct tty_flip_buffer flip' or 'char *read_buf/char *write_buf'
might be the ones that I need to save. But I have not been able to
find much information on these fields so I wanted to ask for some
advice or insight on these fields.
If I am wrong, please also let me know that I am looking at wrong
fields. Thank you in advance and have a good one!

Ilho <><
-- 
YES, JESUS LOVES YOU, TOO.
For God so loved the world that he gave his one and only Son, that
whoever believes in him shall not perish but have eternal life(John
3:16).

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux