From: Ivan Adzhubey <iadzhubey@rics.bwh.harvard.edu> To: sisyphus@altlinux.ru Subject: [sisyphus] Не проходит сборка 2.4.27-om-smp Date: Tue, 21 Dec 2004 23:58:00 -0500 Message-ID: <200412212358.00131.iadzhubey@rics.bwh.harvard.edu> (raw) [-- Attachment #1: Type: text/plain, Size: 483 bytes --] Приветствую! Что-то у меня не получается пересобрать 2.4.27-om-smp-alt1: Hunk #1 succeeded at 323 (offset 3 lines). patching file fs/binfmt_aout.c Hunk #2 succeeded at 117 (offset 5 lines). Hunk #4 succeeded at 279 (offset 5 lines). Hunk #6 succeeded at 335 (offset 5 lines). Hunk #8 FAILED at 410. Hunk #9 FAILED at 450. Hunk #10 succeeded at 487 (offset 9 lines). 2 out of 11 hunks FAILED -- saving rejects to file fs/binfmt_aout.c.rej binfmt_aout.c.rej прицепляю. -- Иван [-- Attachment #2: binfmt_aout.c.rej --] [-- Type: text/x-diff, Size: 2990 bytes --] *************** *** 379,402 **** goto beyond_if; } down_write(¤t->mm->mmap_sem); error = do_mmap(bprm->file, N_TXTADDR(ex), ex.a_text, PROT_READ | PROT_EXEC, MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, fd_offset); up_write(¤t->mm->mmap_sem); if (error != N_TXTADDR(ex)) { send_sig(SIGKILL, current, 0); return error; } down_write(¤t->mm->mmap_sem); error = do_mmap(bprm->file, N_DATADDR(ex), ex.a_data, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, fd_offset + ex.a_text); up_write(¤t->mm->mmap_sem); if (error != N_DATADDR(ex)) { send_sig(SIGKILL, current, 0); return error; --- 410,447 ---- goto beyond_if; } + #ifdef CONFIG_MOSIX + error = do_mmap_down(bprm->file, N_TXTADDR(ex), ex.a_text, + PROT_READ | PROT_EXEC, + MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, + fd_offset); + #else down_write(¤t->mm->mmap_sem); error = do_mmap(bprm->file, N_TXTADDR(ex), ex.a_text, PROT_READ | PROT_EXEC, MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, fd_offset); up_write(¤t->mm->mmap_sem); + #endif /* CONFIG_MOSIX */ if (error != N_TXTADDR(ex)) { send_sig(SIGKILL, current, 0); return error; } + #ifdef CONFIG_MOSIX + error = do_mmap_down(bprm->file, N_DATADDR(ex), ex.a_data, + PROT_READ | PROT_WRITE | PROT_EXEC, + MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, + fd_offset + ex.a_text); + #else down_write(¤t->mm->mmap_sem); error = do_mmap(bprm->file, N_DATADDR(ex), ex.a_data, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, fd_offset + ex.a_text); up_write(¤t->mm->mmap_sem); + #endif /* CONFIG_MOSIX */ if (error != N_DATADDR(ex)) { send_sig(SIGKILL, current, 0); return error; *************** *** 405,412 **** beyond_if: set_binfmt(&aout_format); set_brk(current->mm->start_brk, current->mm->brk); retval = setup_arg_pages(bprm); if (retval < 0) { /* Someone check-me: is this error path enough? */ --- 450,476 ---- beyond_if: set_binfmt(&aout_format); + #ifdef CONFIG_MOSIX + /* if DEPUTY, the REMOTE already did "set_brk" in aout_remote_init_mm */ + if(!(current->mosix.dflags & DDEPUTY)) + #endif /* CONFIG_MOSIX */ set_brk(current->mm->start_brk, current->mm->brk); + #ifdef CONFIG_MOSIX + if(current->mosix.dflags & DDEPUTY) + { + retval = mosix_deputy_setup_args(SETUP_ARGS_AS_AOUT, + &start_stack); + if(retval < 0) + { + send_sig(SIGKILL, current, 0); + return(retval); + } + mosix_obtain_registers(START_THREAD_REGS); + } + else + { + #endif /* CONFIG_MOSIX */ retval = setup_arg_pages(bprm); if (retval < 0) { /* Someone check-me: is this error path enough? */
next reply other threads:[~2004-12-22 4:58 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-22 4:58 Ivan Adzhubey [this message] 2004-12-22 5:01 ` Ivan Adzhubey 2004-12-22 7:22 ` Ivan Fedorov 2004-12-22 18:02 ` Ivan Adzhubey
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200412212358.00131.iadzhubey@rics.bwh.harvard.edu \ --to=iadzhubey@rics.bwh.harvard.edu \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git